nixpkgs/pkgs/gtk+/gtk+-build.sh
Eelco Dolstra a7e18d28f5 * Fix a typo in the g++ wrapper.
svn path=/nixpkgs/trunk/; revision=207
2003-07-26 20:38:23 +00:00

16 lines
349 B
Bash
Executable file

#! /bin/sh
. $stdenv/setup || exit 1
export PATH=$pkgconfig/bin:/bin:/usr/bin
envpkgs="$glib $atk $pango"
. $setenv
tar xvfj $src || exit 1
cd gtk+-* || exit 1
LDFLAGS=-Wl,-s ./configure --prefix=$out --x-includes=/usr/X11/include --x-libraries=/usr/X11/lib || exit 1
make || exit 1
make install || exit 1
echo $envpkgs > $out/envpkgs || exit 1