* Forgot to add zip.
svn path=/nixpkgs/trunk/; revision=355
This commit is contained in:
parent
dbe0f07b5b
commit
12e195f313
8
pkgs/zip/zip-build.sh
Executable file
8
pkgs/zip/zip-build.sh
Executable file
@ -0,0 +1,8 @@
|
|||||||
|
#! /bin/sh
|
||||||
|
|
||||||
|
. $stdenv/setup || exit 1
|
||||||
|
|
||||||
|
tar xvfz $src || exit 1
|
||||||
|
cd zip-* || exit 1
|
||||||
|
make -f unix/Makefile generic || exit 1
|
||||||
|
make -f unix/Makefile prefix=$out install || exit 1
|
13
pkgs/zip/zip.fix
Normal file
13
pkgs/zip/zip.fix
Normal file
@ -0,0 +1,13 @@
|
|||||||
|
Package(
|
||||||
|
[ ("name", "zip-2.3")
|
||||||
|
|
||||||
|
, ("build", Relative("zip/zip-build.sh"))
|
||||||
|
|
||||||
|
, ("src", Call(IncludeFix("fetchurl/fetchurl.fix"),
|
||||||
|
[ ("url", "ftp://ftp.info-zip.org/pub/infozip/src/zip23.tar.gz")
|
||||||
|
, ("md5", "5206a99541f3b0ab90f1baa167392c4f")
|
||||||
|
]))
|
||||||
|
|
||||||
|
, ("stdenv", IncludeFix("stdenv/stdenv.fix"))
|
||||||
|
]
|
||||||
|
)
|
Loading…
Reference in New Issue
Block a user