Commit | Line | Data |
---|---|---|
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 | |
4 | # Arch Maintainer: CRUX-ARM System Team, crux-arm at mikeux dot dyndns dot org | |
5 | # Depends on: | |
6 | ||
7 | name=zip | |
8 | version=3.0 | |
9 | release=1 | |
10 | source=(http://dl.sourceforge.net/sourceforge/infozip/${name}${version//./}.tar.gz) | |
11 | ||
12 | build() { | |
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 | } |