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.

27 lines
738 B

TERMUX_PKG_HOMEPAGE=https://gmic.eu
TERMUX_PKG_DESCRIPTION="Full-featured framework for image processing"
TERMUX_PKG_VERSION=2.1.1
TERMUX_PKG_SHA256=f65baf6b173ad0d25155c3993d97c0dac8ed15e79addb2a76178f9308852f5a3
TERMUX_PKG_SRCURL=https://gmic.eu/files/source/gmic_$TERMUX_PKG_VERSION.tar.gz
TERMUX_PKG_DEPENDS="graphicsmagick++, libcurl, fftw, libpng, libjpeg-turbo, libtiff"
TERMUX_PKG_BUILD_DEPENDS="graphicsmagick-dev"
7 years ago
TERMUX_PKG_NO_DEVELSPLIT=yes
TERMUX_PKG_BUILD_IN_SRC=yes
termux_step_configure() {
7 years ago
return 0;
}
7 years ago
termux_step_make () {
cd src/
make cli
7 years ago
}
7 years ago
termux_step_make_install() {
cp src/gmic $TERMUX_PREFIX/bin/gmic
cp src/*.h $TERMUX_PREFIX/include/
gunzip man/gmic.1.gz
cp man/gmic.1 $TERMUX_PREFIX/share/man/man1
}