* Added GNU gettext. Nixification is paying off: e.g., it revealed that glib

has a dependency on gettext (and Perl; that's next).

svn path=/nixpkgs/trunk/; revision=323
This commit is contained in:
Eelco Dolstra 2003-08-19 09:41:43 +00:00
parent 6da1ac69b5
commit 6ad771156c
4 changed files with 24 additions and 1 deletions

9
pkgs/gettext/gettext-build.sh Executable file
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

13
pkgs/gettext/gettext.fix Normal file
View File

@ -0,0 +1,13 @@
Package(
[ ("name", "gettext-0.12.1")
, ("build", Relative("gettext/gettext-build.sh"))
, ("src", App(IncludeFix("fetchurl/fetchurl.fix"),
[ ("url", "ftp://ftp.nluug.nl/pub/gnu/gettext/gettext-0.12.1.tar.gz")
, ("md5", "5d4bddd300072315e668247e5b7d5bdb")
]))
, ("stdenv", IncludeFix("stdenv/stdenv.fix"))
]
)

View File

@ -1,7 +1,7 @@
#! /bin/sh
. $stdenv/setup || exit 1
export PATH=$pkgconfig/bin:$PATH
export PATH=$pkgconfig/bin:$gettext/bin:$PATH
tar xvfj $src || exit 1
cd glib-* || exit 1

View File

@ -10,5 +10,6 @@ Package(
, ("stdenv", IncludeFix("stdenv/stdenv.fix"))
, ("pkgconfig", IncludeFix("pkgconfig/pkgconfig.fix"))
, ("gettext", IncludeFix("gettext/gettext.fix"))
]
)