* A descriptor for running the Pan newsreader.
* Added descriptors for gtkspell and its support package pspell. Gtkspell is an optional dependency of Pan, so we should add the ability to nix-instantiate to instantiate variants of a package based on a selection of features. svn path=/nix/trunk/test/; revision=16
This commit is contained in:
Executable
+13
@@ -0,0 +1,13 @@
|
||||
#! /bin/sh
|
||||
|
||||
export PATH=$pkgconfig/bin:/bin:/usr/bin
|
||||
export PKG_CONFIG_PATH=$glib/lib/pkgconfig:$atk/lib/pkgconfig:$pango/lib/pkgconfig:$gtk/lib/pkgconfig
|
||||
export LD_LIBRARY_PATH=$glib/lib:$atk/lib:$pango/lib:$gtk/lib:$pspell/lib
|
||||
export C_INCLUDE_PATH=$pspell/include
|
||||
|
||||
top=`pwd`
|
||||
tar xvfz $src
|
||||
cd gtkspell-*
|
||||
./configure --prefix=$top
|
||||
make
|
||||
make install
|
||||
Executable
+20
@@ -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-*
|
||||
Executable
+7
@@ -0,0 +1,7 @@
|
||||
#! /bin/sh
|
||||
|
||||
export LD_LIBRARY_PATH=$glib/lib:$atk/lib:$pango/lib:$gtk/lib:$gnet/lib:$pspell/lib:$gtkspell/lib
|
||||
|
||||
ldd $pan/bin/pan
|
||||
|
||||
$pan/bin/pan
|
||||
Executable
+10
@@ -0,0 +1,10 @@
|
||||
#! /bin/sh
|
||||
|
||||
export PATH=/bin:/usr/bin
|
||||
|
||||
top=`pwd`
|
||||
tar xvfz $src
|
||||
cd pspell-*
|
||||
./configure --prefix=$top
|
||||
make
|
||||
make install
|
||||
Reference in New Issue
Block a user