37375312b9
In issue https://github.com/termux/termux-packages/issues/6160 I have found that community repo "its-pointless.github.io" specifies us as maintainer for its packages. This is NOT TRUE and potentially misleads people using these packages. Now TERMUX_PKG_MAINTAINER will contain a default value which is neutral and not specify maintainer. So all packages now have to override it to the correct value. [skip ci] %ci:no-build
38 lines
1.1 KiB
Bash
38 lines
1.1 KiB
Bash
TERMUX_PKG_HOMEPAGE=https://sourceforge.net/projects/infozip/
|
|
TERMUX_PKG_DESCRIPTION="Tools for working with zip files"
|
|
TERMUX_PKG_LICENSE="BSD"
|
|
TERMUX_PKG_MAINTAINER="@termux"
|
|
TERMUX_PKG_VERSION=6.0
|
|
TERMUX_PKG_REVISION=7
|
|
TERMUX_PKG_SRCURL=https://downloads.sourceforge.net/infozip/unzip60.tar.gz
|
|
TERMUX_PKG_SHA256=036d96991646d0449ed0aa952e4fbe21b476ce994abc276e49d30e686708bd37
|
|
TERMUX_PKG_DEPENDS="libbz2"
|
|
TERMUX_PKG_BUILD_IN_SRC=true
|
|
|
|
termux_step_configure() {
|
|
cp unix/Makefile Makefile
|
|
}
|
|
|
|
termux_step_make() {
|
|
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
|
|
}
|