2003-07-12 14:04:41 +01:00
|
|
|
#! /bin/sh
|
|
|
|
|
2003-07-28 22:15:03 +01:00
|
|
|
export NIX_LDFLAGS=-Wl,-s
|
|
|
|
|
2003-07-25 21:43:25 +01:00
|
|
|
. $stdenv/setup || exit 1
|
|
|
|
|
|
|
|
export PATH=$pkgconfig/bin:$PATH
|
2003-07-12 14:04:41 +01:00
|
|
|
envpkgs="$gtk $pspell"
|
2003-07-25 21:43:25 +01:00
|
|
|
. $setenv || exit 1
|
2003-07-12 14:04:41 +01:00
|
|
|
|
|
|
|
export C_INCLUDE_PATH=$pspell/include:$C_INCLUDE_PATH
|
|
|
|
|
|
|
|
tar xvfz $src || exit 1
|
|
|
|
cd gtkspell-* || exit 1
|
2003-07-28 22:15:03 +01:00
|
|
|
./configure --prefix=$out --disable-gtk-doc || exit 1
|
2003-07-12 14:04:41 +01:00
|
|
|
make || exit 1
|
|
|
|
make install || exit 1
|
2003-07-28 22:15:03 +01:00
|
|
|
|
2003-07-12 14:04:41 +01:00
|
|
|
echo $envpkgs > $out/envpkgs || exit 1
|