diff options
author | Eelco Dolstra <eelco.dolstra@logicblox.com> | 2003-11-14 09:59:13 +0000 |
---|---|---|
committer | Eelco Dolstra <eelco.dolstra@logicblox.com> | 2003-11-14 09:59:13 +0000 |
commit | 48c3faca5194fab0d6f19ad33a9756763dddefdd (patch) | |
tree | 24e08e006efef44f671d275a5c896e22d83abb28 /pkgs/development/libraries/gnet | |
parent | 6b2bb2247432e5749710576a167a1632c2ec0a61 (diff) |
* Renamed pkgs-ng to pkgs.
svn path=/nixpkgs/trunk/; revision=502
Diffstat (limited to 'pkgs/development/libraries/gnet')
-rwxr-xr-x | pkgs/development/libraries/gnet/builder.sh | 10 | ||||
-rw-r--r-- | pkgs/development/libraries/gnet/default.fix | 16 |
2 files changed, 26 insertions, 0 deletions
diff --git a/pkgs/development/libraries/gnet/builder.sh b/pkgs/development/libraries/gnet/builder.sh new file mode 100755 index 0000000000000..220307fd8b95e --- /dev/null +++ b/pkgs/development/libraries/gnet/builder.sh @@ -0,0 +1,10 @@ +#! /bin/sh + +buildinputs="$pkgconfig $glib" +. $stdenv/setup || exit 1 + +tar xvfz $src || exit 1 +cd gnet-* || exit 1 +./configure --prefix=$out || exit 1 +make || exit 1 +make install || exit 1 diff --git a/pkgs/development/libraries/gnet/default.fix b/pkgs/development/libraries/gnet/default.fix new file mode 100644 index 0000000000000..0475dfa06ab1d --- /dev/null +++ b/pkgs/development/libraries/gnet/default.fix @@ -0,0 +1,16 @@ +{stdenv, fetchurl, pkgconfig, glib}: + +assert !isNull pkgconfig && !isNull glib; + +derivation { + name = "gnet-2.0.4"; + system = stdenv.system; + builder = ./builder.sh; + src = fetchurl { + url = http://www.gnetlibrary.org/src/gnet-2.0.4.tar.gz; + md5 = "b43e728391143214e2cfd0b835b6fd2a"; + }; + stdenv = stdenv; + pkgconfig = pkgconfig; + glib = glib; +} |