CRUX-ARM : Home

Home :: Documentation :: Download :: Development :: Community :: Ports :: Packages :: Bugs :: Links :: About :: Donors
Fixed major update for Arch-Maintainer's email (all ports)
[crossrootfs.git] / unzip / Pkgfile
... / ...
CommitLineData
1# Description: Decompress utility for zipfiles
2# URL: http://infozip.sourceforge.net/UnZip.html
3# Maintainer: CRUX System Team, core-ports at crux dot nu
4# Arch Maintainer: CRUX-ARM System Team, devel at crux-arm dot nu
5# Depends on:
6
7name=unzip
8version=6.0
9release=1
10source=(http://dl.sourceforge.net/sourceforge/infozip/${name}${version//./}.tar.gz)
11
12build() {
13 cd ${name}${version//./}
14
15 sed -e "s|gcc |$CC |g" \
16 -e "s|AS=.*|AS=$CC|g" \
17 -e "s|LD=.*|LD=$CC|g" \
18 -i unix/Makefile
19
20 make -f unix/Makefile LOCAL_UNZIP="$CFLAGS" prefix=/usr linux
21 make -f unix/Makefile prefix=$PKG/usr install
22
23 ln -sf unzip $PKG/usr/bin/zipinfo
24}