diff options
author | Eelco Dolstra <eelco.dolstra@logicblox.com> | 2003-07-12 13:04:41 +0000 |
---|---|---|
committer | Eelco Dolstra <eelco.dolstra@logicblox.com> | 2003-07-12 13:04:41 +0000 |
commit | 0f0a34799245192d4f60e49d15bb46a63cf9735f (patch) | |
tree | 0a8067020c315fa178f474a3f57edab026625db1 /pkgs/gnet | |
parent | ec3b5134c18f0e0ee6ae6cdb71adb95c4d45750b (diff) |
* Converted some more packages.
svn path=/nixpkgs/trunk/; revision=152
Diffstat (limited to 'pkgs/gnet')
-rwxr-xr-x | pkgs/gnet/gnet-build.sh | 12 | ||||
-rw-r--r-- | pkgs/gnet/gnet.fix | 15 |
2 files changed, 27 insertions, 0 deletions
diff --git a/pkgs/gnet/gnet-build.sh b/pkgs/gnet/gnet-build.sh new file mode 100755 index 0000000000000..05caf569474f1 --- /dev/null +++ b/pkgs/gnet/gnet-build.sh @@ -0,0 +1,12 @@ +#! /bin/sh + +export PATH=$pkgconfig/bin:/bin:/usr/bin +envpkgs=$glib +. $setenv + +tar xvfz $src || exit 1 +cd gnet-* || exit 1 +./configure --prefix=$out || exit 1 +make || exit 1 +make install || exit 1 +echo $envpkgs > $out/envpkgs || exit 1 diff --git a/pkgs/gnet/gnet.fix b/pkgs/gnet/gnet.fix new file mode 100644 index 0000000000000..79c2de56a32da --- /dev/null +++ b/pkgs/gnet/gnet.fix @@ -0,0 +1,15 @@ +Package( + [ ("name", "gnet-1.1.9") + + , ("build", Relative("gnet/gnet-build.sh")) + , ("setenv", Relative("helpers/set-env.sh")) + + , ("src", App(IncludeFix("fetchurl/fetchurl.fix"), + [ ("url", "http://www.gnetlibrary.org/src/gnet-1.1.9.tar.gz") + , ("md5", "381b5c6d4031806fc4c3e6b28dc752ec") + ])) + + , ("pkgconfig", IncludeFix("pkgconfig/pkgconfig.fix")) + , ("glib", IncludeFix("glib/glib.fix")) + ] +) |