zip: Folded builder into derivation

svn path=/nixpkgs/trunk/; revision=28047
This commit is contained in:
Shea Levy 2011-08-01 01:10:36 +00:00
parent 38c1179f56
commit 6a34912bfb
2 changed files with 4 additions and 8 deletions

View File

@ -1,7 +0,0 @@
source $stdenv/setup
buildFlags="-f unix/Makefile generic"
installFlags="-f unix/Makefile prefix=$out INSTALL=cp"
genericBuild

View File

@ -1,11 +1,14 @@
{stdenv, fetchurl}: stdenv.mkDerivation {
name = "zip-2.32";
builder = ./builder.sh;
src = fetchurl {
url = ftp://ftp.info-zip.org/pub/infozip/src/zip232.tgz;
md5 = "8a4da4460386e324debe97f3b7fe4d96";
};
buildFlags="-f unix/Makefile generic";
installFlags="-f unix/Makefile prefix=$out INSTALL=cp";
meta = {
homepage = http://www.info-zip.org;
};