nixpkgs/pkgs/fontconfig/fontconfig-build.sh
Eelco Dolstra 23154d034f * Get rid of all `-S' flags (to remove debug info); this is now the default.
* Remove all references to set-env.sh; it has been merged into stdenv.fix (actually 
  baseenv.fix).

svn path=/nixpkgs/trunk/; revision=316
2003-08-18 19:52:54 +00:00

15 lines
397 B
Bash
Executable File

#! /bin/sh
envpkgs="$freetype $expat"
. $stdenv/setup || exit 1
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