nixpkgs/pkgs/fontconfig/fontconfig-build.sh
Eelco Dolstra 11b6d0629a * I can't believe that anybody is still using `ed', but there you
have it...

svn path=/nixpkgs/trunk/; revision=327
2003-08-19 15:05:02 +00:00

16 lines
423 B
Bash
Executable File

#! /bin/sh
envpkgs="$freetype $expat"
. $stdenv/setup || exit 1
export PATH=$ed/bin:$PATH
tar xvfz $src || exit 1
cd fcpackage*/fontconfig || exit 1
./configure --prefix=$out --with-confdir=$out/etc/fonts \
--x-includes=/usr/X11/include --x-libraries=/usr/X11/lib \
--with-expat-includes=$expat/include --with-expat-lib=$expat/lib || exit 1
make || exit 1
make install || exit 1
echo $envpkgs > $out/envpkgs || exit 1