comparison compression/zip/zip.sh @ 1216:6710613b88b9

misc: remove build function
author David Demelier <markand@malikania.fr>
date Wed, 29 Sep 2021 13:49:32 +0200
parents ddab65a5b3f5
children 27d1a83dc8d6
comparison
equal deleted inserted replaced
1215:3214f7fed454 1216:6710613b88b9
23 PKGDOWNLOAD="https://downloads.sourceforge.net/infozip/${PKGNAME}30.tar.gz" 23 PKGDOWNLOAD="https://downloads.sourceforge.net/infozip/${PKGNAME}30.tar.gz"
24 PKGDEPENDS="bzip2" 24 PKGDEPENDS="bzip2"
25 25
26 : ${CC:=clang} 26 : ${CC:=clang}
27 27
28 build() 28 rm -rf ${PKGNAME}30
29 { 29 tar xvf ${PKGNAME}30.tar.gz
30 rm -rf ${PKGNAME}30 30 cd ${PKGNAME}30
31 tar xvf ${PKGNAME}30.tar.gz
32 cd ${PKGNAME}30
33 31
34 # does not support DESTDIR, fake it with prefix. 32 # does not support DESTDIR, fake it with prefix.
35 make -f unix/Makefile CC="$CC" generic 33 make -f unix/Makefile CC="$CC" generic
36 make -f unix/Makefile \ 34 make -f unix/Makefile \
37 prefix=$DESTDIR/ \ 35 prefix=$DESTDIR/ \
38 MANDIR=$DESTDIR/share/man/man1 \ 36 MANDIR=$DESTDIR/share/man/man1 \
39 install 37 install
40 38
41 cd .. 39 cd ..
42 rm -rf ${PKGNAME}30 40 rm -rf ${PKGNAME}30
43 }