* Converted Xft.

svn path=/nixpkgs/trunk/; revision=485
This commit is contained in:
Eelco Dolstra 2003-11-06 13:16:41 +00:00
parent f0f5b6297e
commit deec2fbb21
2 changed files with 28 additions and 0 deletions

View File

@ -0,0 +1,10 @@
#! /bin/sh
buildinputs="$pkgconfig $fontconfig $x11"
. $stdenv/setup || exit 1
tar xvfz $src || exit 1
cd xft-* || exit 1
./configure --prefix=$out --x-includes=$x11/include --x-libraries=$x11/lib || exit 1
make || exit 1
make install || exit 1

View File

@ -0,0 +1,18 @@
{stdenv, fetchurl, pkgconfig, x11, fontconfig}:
assert !isNull pkgconfig && !isNull x11 && !isNull fontconfig;
assert fontconfig.x11 == x11;
derivation {
name = "xft-2.1.2";
system = stdenv.system;
builder = ./builder.sh;
src = fetchurl {
url = http://pdx.freedesktop.org/software/fontconfig/releases/xft-2.1.2.tar.gz;
md5 = "defb7e801d4938b8b15a426ae57e2f3f";
};
stdenv = stdenv;
pkgconfig = pkgconfig;
x11 = x11;
fontconfig = fontconfig;
}