1
0
Fork 1
mirror of https://github.com/NixOS/nixpkgs.git synced 2024-11-25 07:00:43 +00:00
nixpkgs/pkgs/gtkspell/gtkspell-build.sh

17 lines
365 B
Bash
Raw Normal View History

#! /bin/sh
. $stdenv/setup || exit 1
export PATH=$pkgconfig/bin:$PATH
envpkgs="$gtk $pspell"
. $setenv || exit 1
export C_INCLUDE_PATH=$pspell/include:$C_INCLUDE_PATH
tar xvfz $src || exit 1
cd gtkspell-* || exit 1
LDFLAGS=-Wl,-S ./configure --prefix=$out --disable-gtk-doc || exit 1
make || exit 1
make install || exit 1
echo $envpkgs > $out/envpkgs || exit 1