termux-packages/packages/pngquant/build.sh

21 lines
665 B
Bash
Raw Normal View History

2017-12-02 17:43:12 +01:00
TERMUX_PKG_HOMEPAGE=https://pngquant.org
2017-12-05 22:33:04 +01:00
TERMUX_PKG_DESCRIPTION="PNG image optimising utility"
2019-01-21 13:53:58 +01:00
TERMUX_PKG_LICENSE="GPL-3.0"
TERMUX_PKG_LICENSE_FILE="COPYRIGHT"
TERMUX_PKG_MAINTAINER="@termux"
TERMUX_PKG_VERSION=2.17.0
TERMUX_PKG_SRCURL=https://github.com/kornelski/pngquant/archive/refs/tags/${TERMUX_PKG_VERSION}.tar.gz
TERMUX_PKG_SHA256=bc1baa43c814b4416bb63d7b2168d4e5395cfc69a00f8997a595361caa507887
TERMUX_PKG_DEPENDS="libimagequant, libpng, littlecms"
TERMUX_PKG_BUILD_DEPENDS="zlib"
2017-12-02 17:43:12 +01:00
TERMUX_PKG_BUILD_IN_SRC=true
TERMUX_PKG_AUTO_UPDATE=true
TERMUX_PKG_EXTRA_CONFIGURE_ARGS="
--with-libimagequant
--disable-sse
"
2017-12-02 17:43:12 +01:00
termux_step_post_get_source() {
rm -rf lib
2017-12-02 17:43:12 +01:00
}