Commit | Line | Data |
---|---|---|
6dca1d21 JB |
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 | |
5e8ffe1d | 4 | # Ach Maintainer: CRUX ARM System Team. crux-arm at mikeux dot dyndns dot org |
6dca1d21 JB |
5 | # Depends on: |
6 | ||
7 | name=unzip | |
8 | version=6.0 | |
9 | release=1 | |
10 | source=(http://dl.sourceforge.net/sourceforge/infozip/${name}${version//./}.tar.gz) | |
11 | ||
12 | build() { | |
13 | cd ${name}${version//./} | |
5e8ffe1d | 14 | |
6dca1d21 JB |
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 | |
5e8ffe1d | 22 | |
6dca1d21 JB |
23 | ln -sf unzip $PKG/usr/bin/zipinfo |
24 | } |