nixpkgs/pkgs/pango/pango-build.sh

18 lines
357 B
Bash
Raw Normal View History

#! /bin/sh
export NIX_LDFLAGS=-Wl,-s
. $stdenv/setup || exit 1
export PATH=$pkgconfig/bin:$PATH
envpkgs="$glib $Xft"
. $setenv || exit 1
tar xvfj $src || exit 1
cd pango-* || exit 1
./configure --prefix=$out --x-includes=/usr/X11/include --x-libraries=/usr/X11/lib || exit 1
make || exit 1
make install || exit 1
echo $envpkgs > $out/envpkgs || exit 1