2020-06-21 22:26:38 +02:00
|
|
|
TERMUX_PKG_HOMEPAGE=https://www.dechifro.org/dcraw/
|
2015-06-13 01:03:31 +02:00
|
|
|
TERMUX_PKG_DESCRIPTION="Raw digital camera images decoding utility"
|
2019-01-21 15:00:12 +01:00
|
|
|
TERMUX_PKG_LICENSE="GPL-2.0"
|
2020-12-20 14:16:34 +01:00
|
|
|
TERMUX_PKG_MAINTAINER="@termux"
|
2018-06-21 22:01:09 +02:00
|
|
|
TERMUX_PKG_VERSION=9.28.0
|
2020-06-21 22:49:08 +02:00
|
|
|
TERMUX_PKG_REVISION=3
|
2019-07-25 14:16:03 +02:00
|
|
|
TERMUX_PKG_SRCURL=https://mirrors.dotsrc.org/pub/mirrors/exherbo/dcraw-${TERMUX_PKG_VERSION}.tar.gz
|
2020-01-13 02:00:07 +01:00
|
|
|
TERMUX_PKG_SHA256=2890c3da2642cd44c5f3bfed2c9b2c1db83da5cec09cc17e0fa72e17541fb4b9
|
2019-08-12 17:28:41 +02:00
|
|
|
TERMUX_PKG_BUILD_IN_SRC=true
|
2017-09-07 17:51:39 +02:00
|
|
|
TERMUX_PKG_DEPENDS="littlecms, libjasper, libjpeg-turbo"
|
2015-06-13 01:03:31 +02:00
|
|
|
|
2019-02-08 10:37:29 +01:00
|
|
|
termux_step_make_install() {
|
2015-06-13 01:03:31 +02:00
|
|
|
# See the "install" script for flags:
|
2016-04-11 12:06:24 +02:00
|
|
|
$CC $CFLAGS $CPPFLAGS $LDFLAGS dcraw.c $TERMUX_PKG_BUILDER_DIR/swab.c -lm -ljasper -ljpeg -llcms2 -o $TERMUX_PREFIX/bin/dcraw
|
2019-02-09 12:16:54 +01:00
|
|
|
chmod +w dcraw.1 # Add missing write permission
|
2015-06-13 01:03:31 +02:00
|
|
|
cp dcraw.1 $TERMUX_PREFIX/share/man/man1/
|
|
|
|
}
|