CRUX-ARM : Home

Home :: Documentation :: Download :: Development :: Community :: Ports :: Packages :: Bugs :: Links :: About :: Donors
e2fsprogs: updated to 1.42.13 and updated mandir
[crossrootfs.git] / zip / Pkgfile
CommitLineData
6dca1d21
JB
1# Description: Compression and file packaging/archive utility
2# URL: http://infozip.sourceforge.net/Zip.html
3# Maintainer: CRUX System Team, core-ports at crux dot nu
b751b192 4# Arch Maintainer: CRUX-ARM System Team, devel at crux-arm dot nu
6dca1d21
JB
5# Depends on:
6
7name=zip
8version=3.0
9release=1
7eb084b8 10source=(http://downloads.sourceforge.net/sourceforge/infozip/${name}${version//./}.tar.gz)
6dca1d21
JB
11
12build() {
13 cd ${name}${version//./}
14 sed -e "s|gcc |$CC |g" \
15 -e "s|AS=.*|AS=$CC|g" \
16 -e "s|LD=.*|LD=$CC|g" \
17 -i unix/Makefile
18
19 make -f unix/Makefile CC="$CC" LOCAL_ZIP="$CFLAGS" prefix=/usr generic
20 make -f unix/Makefile INSTALL=install prefix=$PKG/usr install
21}