termux-packages/packages/optipng/build.sh

14 lines
652 B
Bash
Raw Normal View History

2015-06-13 01:03:31 +02:00
TERMUX_PKG_HOMEPAGE=http://optipng.sourceforge.net/
TERMUX_PKG_DESCRIPTION="PNG optimizer that recompresses image files to a smaller size, without losing any information"
2019-01-21 13:53:58 +01:00
TERMUX_PKG_LICENSE="ZLIB"
2018-04-12 01:01:12 +02:00
TERMUX_PKG_VERSION=0.7.7
TERMUX_PKG_SHA256=4f32f233cef870b3f95d3ad6428bfe4224ef34908f1b42b0badf858216654452
2015-06-13 01:03:31 +02:00
TERMUX_PKG_SRCURL=http://downloads.sourceforge.net/project/optipng/OptiPNG/optipng-${TERMUX_PKG_VERSION}/optipng-${TERMUX_PKG_VERSION}.tar.gz
2018-04-12 01:01:12 +02:00
TERMUX_PKG_DEPENDS="libpng"
2015-06-13 01:03:31 +02:00
TERMUX_PKG_EXTRA_CONFIGURE_ARGS="--with-system-zlib --with-system-libpng --mandir=$TERMUX_PREFIX/share/man"
TERMUX_PKG_BUILD_IN_SRC=yes
termux_step_pre_configure() {
2016-09-04 00:45:08 +02:00
LD=$CC
}