You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

29 lines
872 B

TERMUX_PKG_HOMEPAGE=https://gmic.eu
TERMUX_PKG_DESCRIPTION="Full-featured framework for image processing"
TERMUX_PKG_LICENSE="CeCILL-2.1"
TERMUX_PKG_VERSION=2.6.7
TERMUX_PKG_REVISION=2
TERMUX_PKG_SRCURL=https://gmic.eu/files/source/gmic_$TERMUX_PKG_VERSION.tar.gz
TERMUX_PKG_SHA256=2e5535d1bae66254136e928428750aac8efcef6f4413fc352b6de9ce8ac8b0ff
TERMUX_PKG_DEPENDS="libc++, libcurl, fftw, libpng, libjpeg-turbo, libtiff, zlib"
TERMUX_PKG_BUILD_DEPENDS="graphicsmagick"
7 years ago
TERMUX_PKG_BUILD_IN_SRC=yes
termux_step_configure() {
7 years ago
return 0;
}
termux_step_make() {
7 years ago
cd src/
make USR="$TERMUX_PREFIX" STRIP="$STRIP" \
CFLAGS="$CXXFLAGS" LIBS="$LDFLAGS" cli
7 years ago
}
7 years ago
termux_step_make_install() {
cp src/gmic $TERMUX_PREFIX/bin/
cp src/gmic-gm $TERMUX_PREFIX/bin/
cp man/gmic.1.gz $TERMUX_PREFIX/share/man/man1/
cp man/gmic.1.gz $TERMUX_PREFIX/share/man/man1/gmic-gm.1.gz
7 years ago
}