nixpkgs/build/gtk+-build.sh
Eelco Dolstra 9552d1fbd7 * Delete source after building.
svn path=/nix/trunk/test/; revision=32
2003-04-06 22:09:47 +00:00

15 lines
288 B
Bash
Executable File

#! /bin/sh
export PATH=$pkgconfig/bin:/bin:/usr/bin
export PKG_CONFIG_PATH=$glib/lib/pkgconfig:$atk/lib/pkgconfig:$pango/lib/pkgconfig
export LD_LIBRARY_PATH=$glib/lib:$atk/lib:$pango/lib
top=`pwd`
tar xvfj $src
cd gtk+-*
./configure --prefix=$top
make
make install
cd ..
rm -rf gtk+-*