2008-10-08 22:44:28 +00:00
|
|
|
# Template build file for 'zip'.
|
|
|
|
pkgname=zip
|
2009-12-21 11:49:10 +00:00
|
|
|
version=3.0
|
2014-12-19 07:47:39 +00:00
|
|
|
revision=3
|
2009-12-21 11:49:10 +00:00
|
|
|
wrksrc="zip30"
|
2008-10-08 22:44:28 +00:00
|
|
|
short_desc="Create/update ZIP files compatible with pkzip"
|
|
|
|
maintainer="Juan RP <xtraeme@gmail.com>"
|
2013-04-14 16:49:07 +00:00
|
|
|
license="BSD"
|
|
|
|
homepage="http://infozip.sf.net/"
|
|
|
|
distfiles="${SOURCEFORGE_SITE}/infozip/zip30.tar.gz"
|
2014-02-14 13:29:22 +00:00
|
|
|
checksum=f0e8bb1f9b7eb0b01285495a2699df3a4b766784c1765a8f1aeedf63c0806369
|
|
|
|
|
|
|
|
do_build() {
|
2014-12-19 07:47:39 +00:00
|
|
|
sed -e "s|generic CC=gcc CPP=\"gcc -E\"|zips CC=$CC CPP=\"$CPP -E\" CFLAGS=\"$CFLAGS \${CFLAGS_NOOPT}\" LFLAGS2=\"$LDFLAGS\"|g" -i unix/Makefile
|
|
|
|
make CC=$CC CPP=$CPP -f unix/Makefile generic_gcc
|
2014-02-14 13:29:22 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
do_install() {
|
|
|
|
make PREFIX=/usr DESTDIR=${DESTDIR} -f unix/Makefile install
|
|
|
|
}
|