* Added Info-ZIP UnZip.

svn path=/nixpkgs/trunk/; revision=317
This commit is contained in:
Eelco Dolstra 2003-08-18 20:05:23 +00:00
parent 23154d034f
commit b86f5facff
4 changed files with 23 additions and 1 deletions

View File

@ -4,4 +4,4 @@
mkdir -p $out/xml/dtd/docbook || exit 1 mkdir -p $out/xml/dtd/docbook || exit 1
cd $out/xml/dtd/docbook || exit 1 cd $out/xml/dtd/docbook || exit 1
unzip $src || exit 1 $unzip/bin/unzip $src || exit 1

View File

@ -8,5 +8,6 @@ Package(
])) ]))
, ("stdenv", IncludeFix("stdenv/stdenv.fix")) , ("stdenv", IncludeFix("stdenv/stdenv.fix"))
, ("unzip", IncludeFix("unzip/unzip.fix"))
] ]
) )

8
pkgs/unzip/unzip-build.sh Executable file
View File

@ -0,0 +1,8 @@
#! /bin/sh
. $stdenv/setup || exit 1
tar xvfz $src || exit 1
cd unzip-* || exit 1
make -f unix/Makefile generic || exit 1
make -f unix/Makefile prefix=$out install || exit 1

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

@ -0,0 +1,13 @@
Package(
[ ("name", "unzip-5.50")
, ("build", Relative("unzip/unzip-build.sh"))
, ("src", Call(IncludeFix("fetchurl/fetchurl.fix"),
[ ("url", "ftp://ftp.info-zip.org/pub/infozip/src/unzip550.tar.gz")
, ("md5", "798592d62e37f92571184236947122ed")
]))
, ("stdenv", IncludeFix("stdenv/stdenv.fix"))
]
)