diff --git a/pkgs/zip/zip-build.sh b/pkgs/zip/zip-build.sh new file mode 100755 index 00000000000..b68fdfe32b8 --- /dev/null +++ b/pkgs/zip/zip-build.sh @@ -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 diff --git a/pkgs/zip/zip.fix b/pkgs/zip/zip.fix new file mode 100644 index 00000000000..7c3ff62bac7 --- /dev/null +++ b/pkgs/zip/zip.fix @@ -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")) + ] +)