about summary refs log tree commit diff
path: root/test/build/pan-build-2.sh
diff options
context:
space:
mode:
Diffstat (limited to 'test/build/pan-build-2.sh')
-rwxr-xr-xtest/build/pan-build-2.sh20
1 files changed, 20 insertions, 0 deletions
diff --git a/test/build/pan-build-2.sh b/test/build/pan-build-2.sh
new file mode 100755
index 000000000000..87dd4e6a1b02
--- /dev/null
+++ b/test/build/pan-build-2.sh
@@ -0,0 +1,20 @@
+#! /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
+cd pan-*
+./configure --prefix=$top
+make
+make install
+cd ..
+rm -rf pan-*