You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

20 lines
645 B

10 years ago
TERMUX_PKG_VERSION=3.0
TERMUX_PKG_HOMEPAGE=http://www.info-zip.org/
TERMUX_PKG_DESCRIPTION="Tools for working with zip files"
TERMUX_PKG_SRCURL=https://downloads.sourceforge.net/infozip/zip30.tar.gz
TERMUX_PKG_SHA256=f0e8bb1f9b7eb0b01285495a2699df3a4b766784c1765a8f1aeedf63c0806369
10 years ago
TERMUX_PKG_DEPENDS="libandroid-support,bzip2"
TERMUX_PKG_BUILD_IN_SRC=yes
termux_step_configure () {
cp unix/Makefile Makefile
}
termux_step_make () {
prefix=$TERMUX_PREFIX LD="$CC $LDFLAGS" CC="$CC $CFLAGS $CPPFLAGS $LDFLAGS" PREFIX=$TERMUX_PREFIX make -j $TERMUX_MAKE_PROCESSES generic
}
termux_step_make_install () {
prefix=$TERMUX_PREFIX make install
}