2017-12-05 22:33:04 +01:00
|
|
|
TERMUX_PKG_HOMEPAGE=https://gmic.eu
|
|
|
|
TERMUX_PKG_DESCRIPTION="Full-featured framework for image processing"
|
2019-01-21 15:00:12 +01:00
|
|
|
TERMUX_PKG_LICENSE="CeCILL-2.1"
|
2019-03-17 19:07:56 +01:00
|
|
|
TERMUX_PKG_VERSION=2.5.2
|
|
|
|
TERMUX_PKG_REVISION=1
|
|
|
|
TERMUX_PKG_SHA256=8a954d2bbb4bd1bacb3ee99ded7e3c57ee340e04a9d0c3415006d574d9b61c4d
|
2017-12-05 22:33:04 +01:00
|
|
|
TERMUX_PKG_SRCURL=https://gmic.eu/files/source/gmic_$TERMUX_PKG_VERSION.tar.gz
|
2017-09-20 20:46:33 +02:00
|
|
|
TERMUX_PKG_DEPENDS="graphicsmagick++, libcurl, fftw, libpng, libjpeg-turbo, libtiff"
|
|
|
|
TERMUX_PKG_BUILD_DEPENDS="graphicsmagick-dev"
|
2017-08-10 02:50:42 +02:00
|
|
|
TERMUX_PKG_NO_DEVELSPLIT=yes
|
|
|
|
TERMUX_PKG_BUILD_IN_SRC=yes
|
2017-10-14 23:33:02 +02:00
|
|
|
|
|
|
|
termux_step_configure() {
|
2017-08-10 02:50:42 +02:00
|
|
|
return 0;
|
|
|
|
}
|
2017-10-14 23:33:02 +02:00
|
|
|
|
2019-02-08 10:37:29 +01:00
|
|
|
termux_step_make() {
|
2017-08-10 02:50:42 +02:00
|
|
|
cd src/
|
2017-12-05 22:48:12 +01:00
|
|
|
make cli
|
2017-08-10 02:50:42 +02:00
|
|
|
}
|
2017-10-14 23:33:02 +02:00
|
|
|
|
2017-08-10 02:50:42 +02:00
|
|
|
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
|
|
|
|
}
|
|
|
|
|