* Renamed pkgs-ng to pkgs.

svn path=/nixpkgs/trunk/; revision=502
This commit is contained in:
Eelco Dolstra
2003-11-14 09:59:13 +00:00
parent 6b2bb22474
commit 48c3faca51
141 changed files with 0 additions and 0 deletions

View File

@@ -0,0 +1,10 @@
#! /bin/sh
. $stdenv/setup || exit 1
tar xvfz $src || exit 1
cd aterm-* || exit 1
./configure --prefix=$out --with-gcc || exit 1
make || exit 1
make install || exit 1
strip -S $out/lib/*.a || exit 1

View File

@@ -0,0 +1,10 @@
{stdenv, fetchurl}: derivation {
name = "aterm-2.0";
system = stdenv.system;
builder = ./builder.sh;
src = fetchurl {
url = http://www.cwi.nl/projects/MetaEnv/aterm/aterm-2.0.tar.gz;
md5 = "853474e4bcf4a85f7d38a0676b36bded";
};
stdenv = stdenv;
}

View File

@@ -0,0 +1,10 @@
#! /bin/sh
. $stdenv/setup || exit 1
tar xvfz $src || exit 1
cd db-*/build_unix || exit 1
../dist/configure --prefix=$out --enable-cxx --enable-compat185 || exit 1
make || exit 1
make install || exit 1
rm -rf $out/doc || exit 1

View File

@@ -0,0 +1,10 @@
{stdenv, fetchurl}: derivation {
name = "db4-4.0.14";
system = stdenv.system;
builder = ./builder.sh;
src = fetchurl {
url = http://www.sleepycat.com/update/snapshot/db-4.0.14.tar.gz;
md5 = "12262c64fcd64b772e7cffad8e4d0ebc";
};
stdenv = stdenv;
}

View File

@@ -0,0 +1,10 @@
#! /bin/sh
. $stdenv/setup || exit 1
tar xvfz $src || exit 1
cd expat-* || exit 1
./configure --prefix=$out || exit 1
make || exit 1
make install || exit 1
strip -S $out/lib/*.a || exit 1

View File

@@ -0,0 +1,10 @@
{stdenv, fetchurl}: derivation {
name = "expat-1.95.7";
system = stdenv.system;
builder = ./builder.sh;
src = fetchurl {
url = http://heanet.dl.sourceforge.net/sourceforge/expat/expat-1.95.7.tar.gz;
md5 = "2ff59c2a5cbdd21a285c5f343e214fa9";
};
stdenv = stdenv;
}

View File

@@ -0,0 +1,18 @@
#! /bin/sh
buildinputs="$freetype $expat $x11 $ed"
. $stdenv/setup || exit 1
# Fontconfig generates a bad `fonts.conf' file is the timezone is not known
# (because it calls `date').
export TZ=UTC
tar xvfz $src || exit 1
cd fontconfig-* || exit 1
./configure --prefix=$out --with-confdir=$out/etc/fonts \
--x-includes=$x11/include --x-libraries=$x11/lib \
--with-expat-includes=$expat/include --with-expat-lib=$expat/lib || exit 1
make || exit 1
make install || exit 1
echo "$freetype" > $out/propagated-build-inputs || exit 1

View File

@@ -0,0 +1,21 @@
{stdenv, fetchurl, x11, freetype, expat, ed}:
assert !isNull x11 && x11.buildClientLibs;
assert !isNull freetype;
assert !isNull expat;
assert !isNull ed;
derivation {
name = "fontconfig-2.2.90";
system = stdenv.system;
builder = ./builder.sh;
src = fetchurl {
url = http://pdx.freedesktop.org/software/fontconfig/releases/fontconfig-2.2.90.tar.gz;
md5 = "5cb87476743be1bbf1674ed72a76ae6a";
};
stdenv = stdenv;
x11 = x11;
freetype = freetype;
expat = expat;
ed = ed;
}

View File

@@ -0,0 +1,10 @@
#! /bin/sh
. $stdenv/setup || exit 1
tar xvfj $src || exit 1
cd freetype-* || exit 1
./configure --prefix=$out || exit 1
make || exit 1
make install || exit 1
strip -S $out/lib/*.a || exit 1

View File

@@ -0,0 +1,10 @@
{stdenv, fetchurl}: derivation {
name = "freetype-2.1.5";
system = stdenv.system;
builder = ./builder.sh;
src = fetchurl {
url = http://heanet.dl.sourceforge.net/sourceforge/freetype/freetype-2.1.5.tar.bz2;
md5 = "54537b518b84d04190a1eccd393a29df";
};
stdenv = stdenv;
}

View File

@@ -0,0 +1,9 @@
#! /bin/sh
. $stdenv/setup || exit 1
tar xvfz $src || exit 1
cd gettext-* || exit 1
./configure --prefix=$out || exit 1
make || exit 1
make install || exit 1

View File

@@ -0,0 +1,10 @@
{stdenv, fetchurl}: derivation {
name = "gettext-0.12.1";
system = stdenv.system;
builder = ./builder.sh;
src = fetchurl {
url = ftp://ftp.nluug.nl/pub/gnu/gettext/gettext-0.12.1.tar.gz;
md5 = "5d4bddd300072315e668247e5b7d5bdb";
};
stdenv = stdenv;
}

View File

@@ -0,0 +1,26 @@
#! /bin/sh
# glibc cannot have itself in its rpath.
export NIX_NO_SELF_RPATH=1
. $stdenv/setup || exit 1
tar xvfj $glibcSrc || exit 1
(cd glibc-* && tar xvfj $linuxthreadsSrc) || exit 1
(cd glibc-* && patch -p1 < $vaargsPatch) || exit 1
mkdir build || exit 1
cd build || exit 1
LDFLAGS=-Wl,-S ../glibc-*/configure --prefix=$out --enable-add-ons --disable-profile || exit 1
make || exit 1
make install || exit 1
make localedata/install-locales || exit 1
strip -S $out/lib/*.a $out/lib/*.so $out/lib/gconv/*.so
strip -s $out/bin/* $out/sbin/* $out/libexec/*
ln -sf /etc/ld.so.cache $out/etc/ld.so.cache || exit 1
(cd $out/include && ln -s $kernelHeaders/include/* .) || exit 1
exit 0

View File

@@ -0,0 +1,21 @@
{stdenv, fetchurl, kernelHeaders}: derivation {
name = "glibc-2.3.2";
system = stdenv.system;
builder = ./builder.sh;
glibcSrc = fetchurl {
url = ftp://ftp.nl.net/pub/gnu/glibc/glibc-2.3.2.tar.bz2;
md5 = "ede969aad568f48083e413384f20753c";
};
linuxthreadsSrc = fetchurl {
url = ftp://ftp.nl.net/pub/gnu/glibc/glibc-linuxthreads-2.3.2.tar.bz2;
md5 = "894b8969cfbdf787c73e139782167607";
};
# This is a patch to make glibc compile under GCC 3.3. Presumably
# later releases of glibc won't need this.
vaargsPatch = ./glibc-2.3.2-sscanf-1.patch;
stdenv = stdenv;
kernelHeaders = kernelHeaders;
}

View File

@@ -0,0 +1,68 @@
Submitted By: David Shust (www.shustring.com)
Date: 2003-08-15
Initial Package Version: 2.3.2
Origin: glibc CVS changes performed by Roland McGrath
Description: patches stdio-common/sscanf.c, libio/{swprintf.c, swscanf.c}
diff -Naur glibc-2.3.2/libio/swprintf.c glibc-2.3.2-new/libio/swprintf.c
--- glibc-2.3.2/libio/swprintf.c 2001-07-07 19:21:03.000000000 +0000
+++ glibc-2.3.2-new/libio/swprintf.c 2003-08-15 19:36:42.000000000 +0000
@@ -1,4 +1,5 @@
-/* Copyright (C) 1991,1995,1997,1998,1999,2000 Free Software Foundation, Inc.
+/* Copyright (C) 1991,1995,1997,1998,1999,2000,2003
+ Free Software Foundation, Inc.
This file is part of the GNU C Library.
The GNU C Library is free software; you can redistribute it and/or
@@ -22,10 +23,7 @@
/* Write formatted output into S, according to the format string FORMAT. */
/* VARARGS3 */
int
-swprintf (s, n, format)
- wchar_t *s;
- size_t n;
- const wchar_t *format;
+swprintf (wchar_t *s, size_t n, const wchar_t *format, ...)
{
va_list arg;
int done;
diff -Naur glibc-2.3.2/libio/swscanf.c glibc-2.3.2-new/libio/swscanf.c
--- glibc-2.3.2/libio/swscanf.c 2001-07-07 19:21:03.000000000 +0000
+++ glibc-2.3.2-new/libio/swscanf.c 2003-08-15 19:36:42.000000000 +0000
@@ -1,4 +1,4 @@
-/* Copyright (C) 1991, 1995, 1996, 1998, 1999 Free Software Foundation, Inc.
+/* Copyright (C) 1991,1995,1996,1998,1999,2003 Free Software Foundation, Inc.
This file is part of the GNU C Library.
The GNU C Library is free software; you can redistribute it and/or
@@ -22,9 +22,7 @@
/* Read formatted input from S, according to the format string FORMAT. */
/* VARARGS2 */
int
-swscanf (s, format)
- const wchar_t *s;
- const wchar_t *format;
+swscanf (const wchar_t *s, const wchar_t *format, ...)
{
va_list arg;
int done;
diff -Naur glibc-2.3.2/stdio-common/sscanf.c glibc-2.3.2-new/stdio-common/sscanf.c
--- glibc-2.3.2/stdio-common/sscanf.c 2002-08-10 18:09:08.000000000 +0000
+++ glibc-2.3.2-new/stdio-common/sscanf.c 2003-08-15 19:36:24.000000000 +0000
@@ -1,4 +1,4 @@
-/* Copyright (C) 1991,95,96,98,2002 Free Software Foundation, Inc.
+/* Copyright (C) 1991,1995,1996,1998,2002,2003 Free Software Foundation, Inc.
This file is part of the GNU C Library.
The GNU C Library is free software; you can redistribute it and/or
@@ -27,9 +27,7 @@
/* Read formatted input from S, according to the format string FORMAT. */
/* VARARGS2 */
int
-sscanf (s, format)
- const char *s;
- const char *format;
+sscanf (const char *s, const char *format, ...)
{
va_list arg;
int done;

View File

@@ -0,0 +1,10 @@
#! /bin/sh
buildinputs="$pkgconfig $glib"
. $stdenv/setup || exit 1
tar xvfz $src || exit 1
cd gnet-* || exit 1
./configure --prefix=$out || exit 1
make || exit 1
make install || exit 1

View File

@@ -0,0 +1,16 @@
{stdenv, fetchurl, pkgconfig, glib}:
assert !isNull pkgconfig && !isNull glib;
derivation {
name = "gnet-2.0.4";
system = stdenv.system;
builder = ./builder.sh;
src = fetchurl {
url = http://www.gnetlibrary.org/src/gnet-2.0.4.tar.gz;
md5 = "b43e728391143214e2cfd0b835b6fd2a";
};
stdenv = stdenv;
pkgconfig = pkgconfig;
glib = glib;
}

View File

@@ -0,0 +1,10 @@
#! /bin/sh
buildinputs="$gtk $libtiff $libjpeg $libpng"
. $stdenv/setup || exit 1
tar xvfj $src || exit 1
cd gdk-pixbuf-* || exit 1
./configure --prefix=$out || exit 1
make || exit 1
make install || exit 1

View File

@@ -0,0 +1,21 @@
{stdenv, fetchurl, gtk, libtiff, libjpeg, libpng}:
assert !isNull gtk && !isNull libtiff
&& !isNull libjpeg && !isNull libpng;
derivation {
name = "gdk-pixbuf-0.22.0";
system = stdenv.system;
builder = ./builder.sh;
src = fetchurl {
url = ftp://ftp.gnome.org/pub/gnome/sources/gdk-pixbuf/0.22/gdk-pixbuf-0.22.0.tar.bz2;
md5 = "05fcb68ceaa338614ab650c775efc2f2";
};
stdenv = stdenv;
gtk = gtk;
libtiff = libtiff;
libjpeg = libjpeg;
libpng = libpng;
}

View File

@@ -0,0 +1,9 @@
#! /bin/sh
. $stdenv/setup || exit 1
tar xvfz $src || exit 1
cd glib-* || exit 1
./configure --prefix=$out || exit 1
make || exit 1
make install || exit 1

View File

@@ -0,0 +1,10 @@
{stdenv, fetchurl}: derivation {
name = "glib-1.2.10";
system = stdenv.system;
builder = ./builder.sh;
src = fetchurl {
url = ftp://ftp.gtk.org/pub/gtk/v1.2/glib-1.2.10.tar.gz;
md5 = "6fe30dad87c77b91b632def29dd69ef9";
};
stdenv = stdenv;
}

View File

@@ -0,0 +1,12 @@
#! /bin/sh
buildinputs="$x11 $glib"
. $stdenv/setup || exit 1
tar xvfz $src || exit 1
cd gtk+-* || exit 1
./configure --prefix=$out --x-includes=$x11/include --x-libraries=$x11/lib || exit 1
make || exit 1
make install || exit 1
echo "$x11 $glib" > $out/propagated-build-inputs || exit 1

View File

@@ -0,0 +1,19 @@
{stdenv, fetchurl, x11, glib}:
assert !isNull x11 && !isNull glib;
assert x11.buildClientLibs;
derivation {
name = "gtk+-1.2.10";
system = stdenv.system;
builder = ./builder.sh;
src = fetchurl {
url = ftp://ftp.gtk.org/pub/gtk/v1.2/gtk+-1.2.10.tar.gz;
md5 = "4d5cb2fc7fb7830e4af9747a36bfce20";
};
stdenv = stdenv;
x11 = x11;
glib = glib;
}

View File

@@ -0,0 +1,10 @@
#! /bin/sh
buildinputs="$pkgconfig $perl $glib"
. $stdenv/setup || exit 1
tar xvfj $src || exit 1
cd atk-* || exit 1
./configure --prefix=$out || exit 1
make || exit 1
make install || exit 1

View File

@@ -0,0 +1,17 @@
{stdenv, fetchurl, pkgconfig, glib, perl}:
assert !isNull pkgconfig && !isNull glib && !isNull perl;
derivation {
name = "atk-1.2.4";
system = stdenv.system;
builder = ./builder.sh;
src = fetchurl {
url = ftp://ftp.gtk.org/pub/gtk/v2.2/atk-1.2.4.tar.bz2;
md5 = "2d6d50df31abe0e8892b5d3e7676a02d";
};
stdenv = stdenv;
pkgconfig = pkgconfig;
glib = glib;
perl = perl;
}

View File

@@ -0,0 +1,10 @@
#! /bin/sh
buildinputs="$pkgconfig $gettext $perl"
. $stdenv/setup || exit 1
tar xvfj $src || exit 1
cd glib-* || exit 1
./configure --prefix=$out || exit 1
make || exit 1
make install || exit 1

View File

@@ -0,0 +1,17 @@
{stdenv, fetchurl, pkgconfig, gettext, perl}:
assert !isNull pkgconfig && !isNull gettext && !isNull perl;
derivation {
name = "glib-2.2.3";
system = stdenv.system;
builder = ./builder.sh;
src = fetchurl {
url = ftp://ftp.gtk.org/pub/gtk/v2.2/glib-2.2.3.tar.bz2;
md5 = "aa214a10d873b68ddd67cd9de2ccae55";
};
stdenv = stdenv;
pkgconfig = pkgconfig;
gettext = gettext;
perl = perl;
}

View File

@@ -0,0 +1,12 @@
#! /bin/sh
buildinputs="$pkgconfig $x11 $glib $atk $pango $perl $libtiff $libjpeg $libpng"
. $stdenv/setup || exit 1
tar xvfj $src || exit 1
cd gtk+-* || exit 1
./configure --prefix=$out --x-includes=$x11/include --x-libraries=$x11/lib || exit 1
make || exit 1
make install || exit 1
echo "$x11 $glib $atk $pango" > $out/propagated-build-inputs || exit 1

View File

@@ -0,0 +1,30 @@
{ stdenv, fetchurl, pkgconfig, x11, glib, atk
, pango, perl, libtiff, libjpeg, libpng}:
assert !isNull pkgconfig && !isNull x11 && !isNull glib && !isNull atk
&& !isNull pango && !isNull perl && !isNull perl && !isNull libtiff
&& !isNull libjpeg && !isNull libpng;
assert x11.buildClientLibs;
assert glib == atk.glib;
assert glib == pango.glib;
assert x11 == pango.x11;
derivation {
name = "gtk+-2.2.4";
system = stdenv.system;
builder = ./builder.sh;
src = fetchurl {
url = ftp://ftp.gtk.org/pub/gtk/v2.2/gtk+-2.2.4.tar.bz2;
md5 = "605332199533e73bc6eec481fb4f1671";
};
stdenv = stdenv;
pkgconfig = pkgconfig;
x11 = x11;
glib = glib;
atk = atk;
pango = pango;
perl = perl;
libtiff = libtiff;
libjpeg = libjpeg;
libpng = libpng;
}

View File

@@ -0,0 +1,12 @@
#! /bin/sh
buildinputs="$pkgconfig $x11 $glib $xft"
. $stdenv/setup || exit 1
tar xvfj $src || exit 1
cd pango-* || exit 1
./configure --prefix=$out --x-includes=$x11/include --x-libraries=$x11/lib || exit 1
make || exit 1
make install || exit 1
echo "$xft" > $out/propagated-build-inputs || exit 1

View File

@@ -0,0 +1,20 @@
{stdenv, fetchurl, pkgconfig, x11, glib, xft}:
assert !isNull pkgconfig && !isNull x11 && !isNull glib && !isNull xft;
assert x11.buildClientLibs;
assert xft.x11 == x11;
derivation {
name = "pango-1.2.5";
system = stdenv.system;
builder = ./builder.sh;
src = fetchurl {
url = ftp://ftp.gtk.org/pub/gtk/v2.2/pango-1.2.5.tar.bz2;
md5 = "df00fe3e71cd297010f24f439b6c8ee6";
};
stdenv = stdenv;
pkgconfig = pkgconfig;
x11 = x11;
glib = glib;
xft = xft;
}

View File

@@ -0,0 +1,11 @@
#! /bin/sh
buildinputs="$pkgconfig $glib $lex $yacc"
. $stdenv/setup || exit 1
tar xvfj $src || exit 1
cd libIDL-* || exit 1
./configure --prefix=$out || exit 1
make || exit 1
make install || exit 1
strip -S $out/lib/*.a || exit 1

View File

@@ -0,0 +1,18 @@
{stdenv, fetchurl, pkgconfig, glib, lex, yacc}:
assert !isNull pkgconfig && !isNull gtk && !isNull lex && !isNull yacc;
derivation {
name = "libIDL-0.8.2";
system = stdenv.system;
builder = ./builder.sh;
src = fetchurl {
url = ftp://ftp.gnome.org/pub/gnome/sources/libIDL/0.8/libIDL-0.8.2.tar.bz2;
md5 = "a75d2dbf3a3c66b567047c94245f8b82";
};
stdenv = stdenv;
pkgconfig = pkgconfig;
glib = glib;
lex = lex;
yacc = yacc;
}

View File

@@ -0,0 +1,15 @@
#! /bin/sh
. $stdenv/setup || exit 1
tar xvfz $src || exit 1
cd jpeg-* || exit 1
./configure --prefix=$out --enable-shared || exit 1
make || exit 1
mkdir $out || exit 1
mkdir $out/bin || exit 1
mkdir $out/lib || exit 1
mkdir $out/include || exit 1
mkdir $out/man || exit 1
mkdir $out/man/man1 || exit 1
make install || exit 1

View File

@@ -0,0 +1,10 @@
{stdenv, fetchurl}: derivation {
name = "libjpeg-6b";
system = stdenv.system;
builder = ./builder.sh;
src = fetchurl {
url = http://www.ijg.org/files/jpegsrc.v6b.tar.gz;
md5 = "dbd5f3b47ed13132f04c685d608a7547";
};
stdenv = stdenv;
}

View File

@@ -0,0 +1,16 @@
#! /bin/sh
buildinputs="$zlib"
. $stdenv/setup || exit 1
tar xvfj $src || exit 1
cd libpng-* || exit 1
make -f scripts/makefile.linux || exit 1
mkdir $out || exit 1
mkdir $out/bin || exit 1
mkdir $out/lib || exit 1
mkdir $out/include || exit 1
make -f scripts/makefile.linux install prefix=$out || exit 1
strip -S $out/lib/*.a || exit 1
echo "$zlib" > $out/propagated-build-inputs || exit 1

View File

@@ -0,0 +1,15 @@
{stdenv, fetchurl, zlib}:
assert !isNull zlib;
derivation {
name = "libpng-1.2.5";
system = stdenv.system;
builder = ./builder.sh;
src = fetchurl {
url = http://heanet.dl.sourceforge.net/sourceforge/png-mng/libpng-1.2.5.tar.bz2;
md5 = "3fc28af730f12ace49b14568de4ad934";
};
stdenv = stdenv;
zlib = zlib;
}

View File

@@ -0,0 +1,16 @@
#! /bin/sh
buildinputs="$zlib $libjpeg"
. $stdenv/setup || exit 1
tar xvfz $src || exit 1
cd tiff-* || exit 1
./configure --prefix=$out --with-DIR_MAN=$out/man \
--with-ZIP --with-JPEG \
--with-DIRS_LIBINC="$zlib/include $libjpeg/include" || exit 1
make || exit 1
mkdir $out || exit 1
make install || exit 1
strip -S $out/lib/*.a || exit 1
echo "$zlib $libjpeg" > $out/propagated-build-inputs || exit 1

View File

@@ -0,0 +1,16 @@
{stdenv, fetchurl, zlib, libjpeg}:
assert !isNull zlib && !isNull libjpeg;
derivation {
name = "libtiff-3.5.7";
system = stdenv.system;
builder = ./builder.sh;
src = fetchurl {
url = ftp://ftp.remotesensing.org/pub/libtiff/tiff-v3.5.7.tar.gz;
md5 = "82243b5ae9b7c9e492aeebc501680990";
};
stdenv = stdenv;
zlib = zlib;
libjpeg = libjpeg;
}

View File

@@ -0,0 +1,11 @@
#! /bin/sh
buildinputs="$zlib"
. $stdenv/setup || exit 1
tar xvfz $src || exit 1
cd libxml2-* || exit 1
./configure --prefix=$out || exit 1
make || exit 1
make install || exit 1
strip -S $out/lib/*.a || exit 1

View File

@@ -0,0 +1,15 @@
{stdenv, fetchurl, zlib}:
assert !isNull zlib;
derivation {
name = "libxml2-2.6.2";
system = stdenv.system;
builder = ./builder.sh;
src = fetchurl {
url = http://rpmfind.net/pub/libxml/libxml2-2.6.2.tar.gz;
md5 = "56e7f74d3d44cc16790ad08624faef64";
};
stdenv = stdenv;
zlib = zlib;
}

View File

@@ -0,0 +1,16 @@
#! /bin/sh
. $stdenv/setup || exit 1
export PATH=$perl/bin:$PATH
tar xvfz $src || exit 1
cd openssl-* || exit 1
./config --prefix=$out shared || exit 1
make || exit 1
mkdir $out || exit 1
make install || exit 1
# Bug fix: openssl does a `chmod 644' on the pkgconfig directory.
chmod 755 $out/lib/pkgconfig || exit 1
echo $envpkgs > $out/envpkgs || exit 1

View File

@@ -0,0 +1,11 @@
{stdenv, fetchurl, perl}: derivation {
name = "openssl-0.9.7c";
system = stdenv.system;
builder = ./builder.sh;
src = fetchurl {
url = http://www.openssl.org/source/openssl-0.9.7c.tar.gz;
md5 = "c54fb36218adaaaba01ef733cd88c8ec";
};
stdenv = stdenv;
perl = perl;
}

View File

@@ -0,0 +1,9 @@
#! /bin/sh
. $stdenv/setup || exit 1
tar xvfj $src || exit 1
cd pcre-* || exit 1
./configure --prefix=$out || exit 1
make || exit 1
make install || exit 1

View File

@@ -0,0 +1,10 @@
{stdenv, fetchurl}: derivation {
name = "pcre-4.3";
system = stdenv.system;
builder = ./builder.sh;
src = fetchurl {
url = ftp://ftp.csx.cam.ac.uk/pub/software/programming/pcre/pcre-4.3.tar.bz2;
md5 = "7bc7d5b590a41e6f9ede30f272002a02";
};
stdenv = stdenv;
}

View File

@@ -0,0 +1,12 @@
#! /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
echo "$fontconfig" > $out/propagated-build-inputs || 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;
}

View File

@@ -0,0 +1,10 @@
#! /bin/sh
. $stdenv/setup || exit 1
tar xvfz $src || exit 1
cd zlib-* || exit 1
./configure --prefix=$out --shared || exit 1
make || exit 1
mkdir $out || exit 1
make install || exit 1

View File

@@ -0,0 +1,10 @@
{stdenv, fetchurl}: derivation {
name = "zlib-1.1.4";
system = stdenv.system;
builder = ./builder.sh;
src = fetchurl {
url = http://www.gzip.org/zlib/zlib-1.1.4.tar.gz;
md5 = "abc405d0bdd3ee22782d7aa20e440f08";
};
stdenv = stdenv;
}