2003-07-12 15:04:41 +02:00
|
|
|
#! /bin/sh
|
|
|
|
|
2003-07-28 23:15:03 +02:00
|
|
|
export NIX_LDFLAGS=-Wl,-s
|
|
|
|
|
2003-07-25 22:43:25 +02:00
|
|
|
. $stdenv/setup || exit 1
|
|
|
|
|
2003-07-28 23:15:03 +02:00
|
|
|
export PATH=$pkgconfig/bin:$PATH
|
2003-07-12 15:04:41 +02:00
|
|
|
envpkgs="$glib $atk $pango"
|
2003-07-28 23:15:03 +02:00
|
|
|
. $setenv || exit 1
|
2003-07-12 15:04:41 +02:00
|
|
|
|
|
|
|
tar xvfj $src || exit 1
|
|
|
|
cd gtk+-* || exit 1
|
2003-07-28 23:15:03 +02:00
|
|
|
./configure --prefix=$out --x-includes=/usr/X11/include --x-libraries=/usr/X11/lib || exit 1
|
2003-07-12 15:04:41 +02:00
|
|
|
make || exit 1
|
|
|
|
make install || exit 1
|
2003-07-26 22:38:23 +02:00
|
|
|
|
2003-07-12 15:04:41 +02:00
|
|
|
echo $envpkgs > $out/envpkgs || exit 1
|