mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-20 12:42:24 +00:00
23154d034f
* Remove all references to set-env.sh; it has been merged into stdenv.fix (actually baseenv.fix). svn path=/nixpkgs/trunk/; revision=316
15 lines
397 B
Bash
Executable file
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
|