nixpkgs/pkgs/pan/pan-build.sh

15 lines
303 B
Bash
Raw Normal View History

#! /bin/sh
. $stdenv/setup || exit 1
export PATH=$pkgconfig/bin:$PATH
envpkgs="$gtk $gtkspell $gnet $libxml"
. $setenv || exit 1
tar xvfj $src || exit 1
cd pan-* || exit 1
LDFLAGS=-Wl,-S ./configure --prefix=$out || exit 1
make || exit 1
make install || exit 1
echo $envpkgs > $out/envpkgs || exit 1