# Description: Compression and file packaging/archive utility # URL: http://infozip.sourceforge.net/Zip.html # Maintainer: CRUX System Team, core-ports at crux dot nu # Arch Maintainer: CRUX-ARM System Team, devel@crux-arm.nu # Depends on: name=zip version=3.0 release=1 source=(http://dl.sourceforge.net/sourceforge/infozip/${name}${version//./}.tar.gz) build() { cd ${name}${version//./} sed -e "s|gcc |$CC |g" \ -e "s|AS=.*|AS=$CC|g" \ -e "s|LD=.*|LD=$CC|g" \ -i unix/Makefile make -f unix/Makefile CC="$CC" LOCAL_ZIP="$CFLAGS" prefix=/usr generic make -f unix/Makefile INSTALL=install prefix=$PKG/usr install }