termux-packages/packages/zziplib/build.sh

18 lines
712 B
Bash
Raw Normal View History

2020-09-23 08:55:36 +02:00
TERMUX_PKG_HOMEPAGE=http://zziplib.sourceforge.net/
TERMUX_PKG_DESCRIPTION="Provides read access to zipped files in a zip-archive, using compression based on free algorithms"
TERMUX_PKG_LICENSE="GPL-2.0"
TERMUX_PKG_MAINTAINER="@termux"
2021-01-07 15:54:03 +01:00
TERMUX_PKG_VERSION=0.13.72
2020-09-23 08:55:36 +02:00
TERMUX_PKG_SRCURL=https://github.com/gdraheim/zziplib/archive/v${TERMUX_PKG_VERSION}.tar.gz
2021-01-07 15:54:03 +01:00
TERMUX_PKG_SHA256=93ef44bf1f1ea24fc66080426a469df82fa631d13ca3b2e4abaeab89538518dc
2020-09-23 08:55:36 +02:00
TERMUX_PKG_FORCE_CMAKE=true
TERMUX_PKG_EXTRA_CONFIGURE_ARGS="-DZZIPTEST=off -DZZIPDOCS=off"
TERMUX_PKG_DEPENDS="zlib"
2020-10-02 20:59:34 +02:00
termux_step_post_make_install() {
cd $TERMUX_PREFIX/lib
for lib in zzip zzipfseeko zzipmmapped zzipwrap; do
ln -sf lib${lib}-0.so lib${lib}.so
done
}