mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-17 19:21:04 +00:00
935ac37000
svn path=/nix/trunk/test/; revision=46
21 lines
590 B
Bash
Executable file
21 lines
590 B
Bash
Executable file
#! /bin/sh
|
|
|
|
export PATH=$pkgconfig/bin:$gnet/bin:/bin:/usr/bin
|
|
export PKG_CONFIG_PATH=$glib/lib/pkgconfig:$atk/lib/pkgconfig:$pango/lib/pkgconfig:$gtk/lib/pkgconfig:$gtkspell/lib/pkgconfig
|
|
export LD_LIBRARY_PATH=$glib/lib:$atk/lib:$pango/lib:$gtk/lib:$gnet/lib:$pspell/lib:$gtkspell/lib
|
|
|
|
# A bug in gtkspell: the pspell library path is not exported
|
|
# through pkgconfig.
|
|
export LIBRARY_PATH=$pspell/lib
|
|
|
|
export LDFLAGS=-s
|
|
|
|
top=`pwd`
|
|
tar xvfj $src || exit 1
|
|
cd pan-* || exit 1
|
|
./configure --prefix=$top || exit 1
|
|
make || exit 1
|
|
make install || exit 1
|
|
cd $top || exit 1
|
|
rm -rf pan-* || exit 1
|