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"
|
2018-05-18 23:34:45 +02:00
|
|
|
TERMUX_PKG_VERSION=1.0.2
|
2018-06-26 13:29:06 +02:00
|
|
|
TERMUX_PKG_REVISION=1
|
2018-05-18 23:34:45 +02:00
|
|
|
TERMUX_PKG_SHA256=4a570307c37172d894ec4ef93b6e8e3aacc401e78cbcc51cf85b212dbc379a55
|
2016-01-10 02:51:28 +01:00
|
|
|
TERMUX_PKG_SRCURL=https://github.com/google/zopfli/archive/zopfli-${TERMUX_PKG_VERSION}.tar.gz
|
|
|
|
TERMUX_PKG_BUILD_IN_SRC=yes
|
|
|
|
|
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/
|
|
|
|
}
|