From 21855fdbe28119b58b58f350c39059fc9da258da Mon Sep 17 00:00:00 2001 From: infamix <34374618+infamix@users.noreply.github.com> Date: Fri, 10 Jan 2020 02:50:21 +0100 Subject: [PATCH] new package: jpegoptim (#4779) --- packages/jpegoptim/build.sh | 14 ++++++++++++++ 1 file changed, 14 insertions(+) create mode 100644 packages/jpegoptim/build.sh diff --git a/packages/jpegoptim/build.sh b/packages/jpegoptim/build.sh new file mode 100644 index 000000000..ccd31cec0 --- /dev/null +++ b/packages/jpegoptim/build.sh @@ -0,0 +1,14 @@ +TERMUX_PKG_HOMEPAGE=https://www.kokkonen.net/tjko/projects.html +TERMUX_PKG_DESCRIPTION="JPEG optimizer that recompresses image files to a smaller size, without losing any information" +TERMUX_PKG_LICENSE="MIT" +TERMUX_PKG_VERSION=1.4.6 +TERMUX_PKG_REVISION=1 +TERMUX_PKG_SHA256=88b1eb64c2a33a2f013f068df8b0331f42c019267401ae3fa28e3277403a5ab7 +TERMUX_PKG_SRCURL=https://www.kokkonen.net/tjko/src/jpegoptim-${TERMUX_PKG_VERSION}.tar.gz +TERMUX_PKG_DEPENDS="libjpeg-turbo" +TERMUX_PKG_EXTRA_CONFIGURE_ARGS=" --mandir=$TERMUX_PREFIX/share/man" +TERMUX_PKG_BUILD_IN_SRC=true + +termux_step_pre_configure() { + LD=$CC +}