zip: cross build support; remove long_desc.
This commit is contained in:
parent
1e8b516d00
commit
af9ed29577
|
@ -1,19 +1,20 @@
|
||||||
# Template build file for 'zip'.
|
# Template build file for 'zip'.
|
||||||
pkgname=zip
|
pkgname=zip
|
||||||
version=3.0
|
version=3.0
|
||||||
revision=1
|
revision=2
|
||||||
wrksrc="zip30"
|
wrksrc="zip30"
|
||||||
build_style=gnu-makefile
|
|
||||||
make_build_target="-f unix/Makefile generic_gcc"
|
|
||||||
make_install_args="-f unix/Makefile"
|
|
||||||
short_desc="Create/update ZIP files compatible with pkzip"
|
short_desc="Create/update ZIP files compatible with pkzip"
|
||||||
maintainer="Juan RP <xtraeme@gmail.com>"
|
maintainer="Juan RP <xtraeme@gmail.com>"
|
||||||
license="BSD"
|
license="BSD"
|
||||||
homepage="http://infozip.sf.net/"
|
homepage="http://infozip.sf.net/"
|
||||||
checksum=f0e8bb1f9b7eb0b01285495a2699df3a4b766784c1765a8f1aeedf63c0806369
|
|
||||||
distfiles="${SOURCEFORGE_SITE}/infozip/zip30.tar.gz"
|
distfiles="${SOURCEFORGE_SITE}/infozip/zip30.tar.gz"
|
||||||
long_desc="
|
checksum=f0e8bb1f9b7eb0b01285495a2699df3a4b766784c1765a8f1aeedf63c0806369
|
||||||
Zip is a compression and file packaging utility. It is compatible with
|
|
||||||
PKZIP 2.04g (Phil Katz ZIP) for MSDOS systems. There is a companion to zip
|
do_build() {
|
||||||
called unzip (of course) which you should be able to find the same place
|
sed -e "s,generic CC=gcc CPP=\"gcc -E\",generic CC=$CC CPP=\"$CPP -E\",g" -i unix/Makefile
|
||||||
you got zip."
|
make CC=$CC CXX=$CXX -f unix/Makefile generic_gcc
|
||||||
|
}
|
||||||
|
|
||||||
|
do_install() {
|
||||||
|
make PREFIX=/usr DESTDIR=${DESTDIR} -f unix/Makefile install
|
||||||
|
}
|
||||||
|
|
Loading…
Reference in New Issue