termux-packages/packages/unzip/build.sh

18 lines
592 B
Bash
Raw Normal View History

2015-06-13 01:03:31 +02:00
TERMUX_PKG_HOMEPAGE=http://www.info-zip.org/
TERMUX_PKG_DESCRIPTION="Tools for working with zip files"
TERMUX_PKG_LICENSE="BSD"
TERMUX_PKG_VERSION=6.0
2019-01-30 00:14:35 +01:00
TERMUX_PKG_REVISION=4
2016-10-28 20:31:02 +02:00
TERMUX_PKG_SRCURL=https://downloads.sourceforge.net/infozip/unzip60.tar.gz
2016-10-28 20:21:22 +02:00
TERMUX_PKG_SHA256=036d96991646d0449ed0aa952e4fbe21b476ce994abc276e49d30e686708bd37
TERMUX_PKG_DEPENDS="libbz2"
TERMUX_PKG_BUILD_IN_SRC=true
2015-06-13 01:03:31 +02:00
termux_step_configure() {
2015-06-13 01:03:31 +02:00
cp unix/Makefile Makefile
}
termux_step_make() {
LD="$CC $LDFLAGS -lbz2" CC="$CC $CFLAGS $CPPFLAGS $LDFLAGS -DNO_LCHMOD -DUSE_BZIP2" make -j $TERMUX_MAKE_PROCESSES generic
2015-06-13 01:03:31 +02:00
}