about summary refs log tree commit diff
path: root/pkgs/gtk+/gtk+-build.sh
blob: 590e68e2e9aacbed104f302e690aa961c9c31249 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
#! /bin/sh

envpkgs="$glib $atk $pango"
. $stdenv/setup || exit 1
export PATH=$pkgconfig/bin:$PATH

tar xvfj $src || exit 1
cd gtk+-* || exit 1
./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