Mercurial > vanilla
comparison compression/zip/zip.sh @ 606:25cecc6dca48
vanilla: use POSIX shell and busybox tar
author | David Demelier <markand@malikania.fr> |
---|---|
date | Thu, 18 Jul 2019 07:26:43 +0200 |
parents | 137f5b5c5ce3 |
children | a133976e0783 |
comparison
equal
deleted
inserted
replaced
605:860ab66f5f71 | 606:25cecc6dca48 |
---|---|
26 : ${CC:=clang} | 26 : ${CC:=clang} |
27 | 27 |
28 build() | 28 build() |
29 { | 29 { |
30 rm -rf ${PKGNAME}30 | 30 rm -rf ${PKGNAME}30 |
31 tar xvaf ${PKGNAME}30.tar.gz | 31 tar xvf ${PKGNAME}30.tar.gz |
32 pushd ${PKGNAME}30 | 32 cd ${PKGNAME}30 |
33 | 33 |
34 # does not support DESTDIR, fake it with prefix. | 34 # does not support DESTDIR, fake it with prefix. |
35 make -f unix/Makefile CC="$CC" generic | 35 make -f unix/Makefile CC="$CC" generic |
36 make -f unix/Makefile \ | 36 make -f unix/Makefile \ |
37 prefix=$DESTDIR/ \ | 37 prefix=$DESTDIR/ \ |
38 MANDIR=$DESTDIR/share/man/man1 \ | 38 MANDIR=$DESTDIR/share/man/man1 \ |
39 install | 39 install |
40 | 40 |
41 popd | 41 cd .. |
42 rm -rf ${PKGNAME}30 | 42 rm -rf ${PKGNAME}30 |
43 } | 43 } |