* Added Info-ZIP UnZip.
svn path=/nixpkgs/trunk/; revision=317
This commit is contained in:
parent
23154d034f
commit
b86f5facff
@ -4,4 +4,4 @@
|
||||
|
||||
mkdir -p $out/xml/dtd/docbook || exit 1
|
||||
cd $out/xml/dtd/docbook || exit 1
|
||||
unzip $src || exit 1
|
||||
$unzip/bin/unzip $src || exit 1
|
||||
|
@ -8,5 +8,6 @@ Package(
|
||||
]))
|
||||
|
||||
, ("stdenv", IncludeFix("stdenv/stdenv.fix"))
|
||||
, ("unzip", IncludeFix("unzip/unzip.fix"))
|
||||
]
|
||||
)
|
||||
|
8
pkgs/unzip/unzip-build.sh
Executable file
8
pkgs/unzip/unzip-build.sh
Executable 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
13
pkgs/unzip/unzip.fix
Normal 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"))
|
||||
]
|
||||
)
|
Loading…
Reference in New Issue
Block a user