summaryrefslogtreecommitdiff
path: root/repo/util/unzip.xibuild
blob: 539171e293423ed869490fbdec08ba95d3ae601e (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
#!/bin/bash

MAKEDEPS=(make)
DEPS=(bzip2 bash)

PKG_VER=6.0
SOURCE=https://downloads.sourceforge.net/infozip/unzip$(echo $PKG_VER | sed "s/.//g").tar.gz
ADDITIONAL=(
    https://www.linuxfromscratch.org/patches/blfs/svn/unzip-$PKG_VER-consolidated_fixes-1.patch
    )

DESC="Compressor/archiver for creating and modifying zipfiles"

prepare () {
    patch -Np1 -i unzip-$PKG_VER-consolidated_fixes-1.patch
}

build () {
    make -f unix/Makefile generic_gcc
}

package () {
    make -f unix/Makefile prefix=$PKG_DEST/usr install
}