2016-01-10 02:51:28 +01:00
|
|
|
TERMUX_PKG_HOMEPAGE=https://github.com/google/zopfli
|
|
|
|
TERMUX_PKG_DESCRIPTION="New zlib compatible compressor library"
|
|
|
|
TERMUX_PKG_VERSION=1.0.1
|
2017-01-11 07:21:42 +01:00
|
|
|
TERMUX_PKG_REVISION=1
|
2016-01-10 02:51:28 +01:00
|
|
|
TERMUX_PKG_SRCURL=https://github.com/google/zopfli/archive/zopfli-${TERMUX_PKG_VERSION}.tar.gz
|
2017-03-27 01:56:11 +02:00
|
|
|
TERMUX_PKG_SHA256=29743d727a4e0ecd1b93e0bf89476ceeb662e809ab2e6ab007a0b0344800e9b4
|
2016-01-10 02:51:28 +01:00
|
|
|
TERMUX_PKG_BUILD_IN_SRC=yes
|
|
|
|
|
|
|
|
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/
|
|
|
|
}
|