mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-22 15:03:28 +00:00
* 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:
parent
6da1ac69b5
commit
6ad771156c
9
pkgs/gettext/gettext-build.sh
Executable file
9
pkgs/gettext/gettext-build.sh
Executable 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
13
pkgs/gettext/gettext.fix
Normal 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"))
|
||||
]
|
||||
)
|
@ -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
|
||||
|
@ -10,5 +10,6 @@ Package(
|
||||
|
||||
, ("stdenv", IncludeFix("stdenv/stdenv.fix"))
|
||||
, ("pkgconfig", IncludeFix("pkgconfig/pkgconfig.fix"))
|
||||
, ("gettext", IncludeFix("gettext/gettext.fix"))
|
||||
]
|
||||
)
|
||||
|
Loading…
Reference in New Issue
Block a user