mirror of
https://github.com/privatevoid-net/nix-super.git
synced 2024-11-23 06:26:15 +02:00
8d682ba551
* 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.
20 lines
518 B
Bash
Executable file
20 lines
518 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
|
|
cd pan-*
|
|
./configure --prefix=$top
|
|
make
|
|
make install
|
|
cd ..
|
|
rm -rf pan-*
|