nixpkgs/pkgs/gnet/gnet-build.sh

14 lines
254 B
Bash
Raw Normal View History

#! /bin/sh
envpkgs="$glib"
. $stdenv/setup || exit 1
export PATH=$pkgconfig/bin:/bin:/usr/bin
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