* Renamed pkgs-ng to pkgs.
svn path=/nixpkgs/trunk/; revision=502
This commit is contained in:
Executable
+10
@@ -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
|
||||
@@ -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;
|
||||
}
|
||||
Reference in New Issue
Block a user