From 12e195f313c29ca10b5e6c08047230e72b6c13f9 Mon Sep 17 00:00:00 2001 From: Eelco Dolstra Date: Mon, 25 Aug 2003 18:37:44 +0000 Subject: [PATCH] * Forgot to add zip. svn path=/nixpkgs/trunk/; revision=355 --- pkgs/zip/zip-build.sh | 8 ++++++++ pkgs/zip/zip.fix | 13 +++++++++++++ 2 files changed, 21 insertions(+) create mode 100755 pkgs/zip/zip-build.sh create mode 100644 pkgs/zip/zip.fix diff --git a/pkgs/zip/zip-build.sh b/pkgs/zip/zip-build.sh new file mode 100755 index 000000000000..b68fdfe32b83 --- /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 000000000000..7c3ff62bac71 --- /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")) + ] +)