2003-07-11 23:08:53 +02:00
|
|
|
#! /bin/sh
|
|
|
|
|
2003-08-29 16:43:45 +02:00
|
|
|
envpkgs="$freetype $expat $x11"
|
2003-08-18 21:52:54 +02:00
|
|
|
. $stdenv/setup || exit 1
|
2003-08-19 17:05:02 +02:00
|
|
|
export PATH=$ed/bin:$PATH
|
2003-07-11 23:08:53 +02:00
|
|
|
|
2003-08-27 17:35:07 +02:00
|
|
|
# Fontconfig generates a bad `fonts.conf' file is the timezone is not known
|
|
|
|
# (because it calls `date').
|
|
|
|
export TZ=UTC
|
|
|
|
|
2003-07-11 23:08:53 +02:00
|
|
|
tar xvfz $src || exit 1
|
2003-10-09 15:24:24 +02:00
|
|
|
cd fontconfig-* || exit 1
|
2003-07-28 23:15:03 +02:00
|
|
|
./configure --prefix=$out --with-confdir=$out/etc/fonts \
|
2003-08-29 16:43:45 +02:00
|
|
|
--x-includes=$x11/include --x-libraries=$x11/lib \
|
2003-07-28 23:15:03 +02:00
|
|
|
--with-expat-includes=$expat/include --with-expat-lib=$expat/lib || exit 1
|
2003-07-11 23:08:53 +02:00
|
|
|
make || exit 1
|
|
|
|
make install || exit 1
|
2003-07-28 23:15:03 +02:00
|
|
|
|
2003-07-11 23:08:53 +02:00
|
|
|
echo $envpkgs > $out/envpkgs || exit 1
|