2020-06-22 14:09:38 +02:00
|
|
|
TERMUX_PKG_HOMEPAGE=https://sourceforge.net/projects/infozip/
|
2015-06-13 01:03:31 +02:00
|
|
|
TERMUX_PKG_DESCRIPTION="Tools for working with zip files"
|
2019-01-21 15:00:12 +01:00
|
|
|
TERMUX_PKG_LICENSE="BSD"
|
2017-12-05 22:48:12 +01:00
|
|
|
TERMUX_PKG_VERSION=6.0
|
2020-06-22 14:09:38 +02:00
|
|
|
TERMUX_PKG_REVISION=6
|
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
|
2019-01-27 09:03:53 +01:00
|
|
|
TERMUX_PKG_DEPENDS="libbz2"
|
2019-08-12 17:28:41 +02:00
|
|
|
TERMUX_PKG_BUILD_IN_SRC=true
|
2015-06-13 01:03:31 +02:00
|
|
|
|
2019-02-08 10:37:29 +01:00
|
|
|
termux_step_configure() {
|
2015-06-13 01:03:31 +02:00
|
|
|
cp unix/Makefile Makefile
|
|
|
|
}
|
|
|
|
|
2019-02-08 10:37:29 +01:00
|
|
|
termux_step_make() {
|
2019-08-16 03:11:19 +02:00
|
|
|
CFLAGS+=" $CPPFLAGS"
|
|
|
|
CFLAGS+=" -DACORN_FTYPE_NFS"
|
|
|
|
CFLAGS+=" -DWILD_STOP_AT_DIR"
|
|
|
|
CFLAGS+=" -DLARGE_FILE_SUPPORT"
|
|
|
|
CFLAGS+=" -DUNICODE_SUPPORT"
|
|
|
|
CFLAGS+=" -DUNICODE_WCHAR"
|
|
|
|
CFLAGS+=" -DUTF8_MAYBE_NATIVE"
|
|
|
|
CFLAGS+=" -DNO_LCHMOD"
|
|
|
|
CFLAGS+=" -DDATE_FORMAT=DF_YMD"
|
|
|
|
CFLAGS+=" -DUSE_BZIP2"
|
|
|
|
CFLAGS+=" -DNOMEMCPY"
|
|
|
|
CFLAGS+=" -DNO_WORKING_ISPRINT"
|
|
|
|
CFLAGS+=" -I."
|
|
|
|
|
|
|
|
make -f unix/Makefile prefix=$TERMUX_PREFIX D_USE_BZ2=-DUSE_BZIP2 \
|
|
|
|
L_BZ2=-lbz2 LF2="$LDFLAGS" CC="$CC" CF="$CFLAGS" LD="$CC" unzips
|
|
|
|
}
|
|
|
|
|
|
|
|
termux_step_make_install() {
|
|
|
|
make -f unix/Makefile prefix=$TERMUX_PREFIX install
|
2015-06-13 01:03:31 +02:00
|
|
|
}
|