2016-01-10 02:51:28 +01:00
|
|
|
TERMUX_PKG_HOMEPAGE=https://github.com/google/zopfli
|
|
|
|
TERMUX_PKG_DESCRIPTION="New zlib compatible compressor library"
|
2019-01-21 13:53:58 +01:00
|
|
|
TERMUX_PKG_LICENSE="Apache-2.0"
|
2019-12-01 17:45:27 +01:00
|
|
|
TERMUX_PKG_VERSION=1.0.3
|
2016-01-10 02:51:28 +01:00
|
|
|
TERMUX_PKG_SRCURL=https://github.com/google/zopfli/archive/zopfli-${TERMUX_PKG_VERSION}.tar.gz
|
2019-12-01 17:45:27 +01:00
|
|
|
TERMUX_PKG_SHA256=e955a7739f71af37ef3349c4fa141c648e8775bceb2195be07e86f8e638814bd
|
2019-06-20 03:12:11 +02:00
|
|
|
TERMUX_PKG_DEPENDS="libc++"
|
2019-07-20 10:42:33 +02:00
|
|
|
TERMUX_PKG_BREAKS="libzopfli-dev"
|
|
|
|
TERMUX_PKG_REPLACES="libzopfli-dev"
|
2019-08-12 17:28:41 +02:00
|
|
|
TERMUX_PKG_BUILD_IN_SRC=true
|
2016-01-10 02:51:28 +01:00
|
|
|
|
2019-02-08 10:37:29 +01:00
|
|
|
termux_step_post_make_install() {
|
2018-03-03 22:47:32 +01:00
|
|
|
make zopflipng
|
|
|
|
cp zopfli zopflipng $TERMUX_PREFIX/bin/
|
|
|
|
|
2016-01-10 02:51:28 +01:00
|
|
|
mkdir -p $TERMUX_PREFIX/include/zopfli/
|
|
|
|
cp $TERMUX_PKG_SRCDIR/src/zopfli/*h $TERMUX_PREFIX/include/zopfli/
|
|
|
|
}
|