summaryrefslogtreecommitdiffstats
path: root/unzip/Pkgfile.old
blob: 122210d398ff21abdafc1d8bac1b214a71db2575 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
# Description: Decompress utility for zipfiles
# URL:         http://infozip.sourceforge.net/UnZip.html
# Maintainer:  CRUX System Team, core-ports at crux dot nu

name=unzip
version=6.0
release=1
source=(http://downloads.sourceforge.net/sourceforge/infozip/${name}${version//./}.tar.gz)

build() {
    cd ${name}${version//./}
    make -f unix/Makefile LOCAL_UNZIP="$CFLAGS" prefix=/usr linux
    make -f unix/Makefile prefix=$PKG/usr install
    ln -sf unzip $PKG/usr/bin/zipinfo
}