Browse Source

dcraw: Install binary into $PREFIX/bin/ correctly

Thanks live_the_dream
android-5
Fredrik Fornwall 9 years ago
parent
commit
b7cf71a02f
  1. 4
      packages/dcraw/build.sh

4
packages/dcraw/build.sh

@ -1,7 +1,7 @@
TERMUX_PKG_HOMEPAGE=http://www.cybercom.net/~dcoffin/dcraw/ TERMUX_PKG_HOMEPAGE=http://www.cybercom.net/~dcoffin/dcraw/
TERMUX_PKG_DESCRIPTION="Raw digital camera images decoding utility" TERMUX_PKG_DESCRIPTION="Raw digital camera images decoding utility"
TERMUX_PKG_VERSION=9.26.0 TERMUX_PKG_VERSION=9.26.0
TERMUX_PKG_BUILD_REVISION=1 TERMUX_PKG_BUILD_REVISION=2
TERMUX_PKG_SRCURL=http://www.cybercom.net/~dcoffin/dcraw/archive/dcraw-${TERMUX_PKG_VERSION}.tar.gz TERMUX_PKG_SRCURL=http://www.cybercom.net/~dcoffin/dcraw/archive/dcraw-${TERMUX_PKG_VERSION}.tar.gz
TERMUX_PKG_FOLDERNAME=dcraw TERMUX_PKG_FOLDERNAME=dcraw
TERMUX_PKG_BUILD_IN_SRC=yes TERMUX_PKG_BUILD_IN_SRC=yes
@ -9,7 +9,7 @@ TERMUX_PKG_DEPENDS="littlecms, libjasper"
termux_step_make_install () { termux_step_make_install () {
# See the "install" script for flags: # See the "install" script for flags:
$CC $CFLAGS $CPPFLAGS $LDFLAGS dcraw.c $TERMUX_PKG_BUILDER_DIR/swab.c -lm -ljasper -ljpeg -llcms2 -o $TERMUX_PREFIX/dcraw $CC $CFLAGS $CPPFLAGS $LDFLAGS dcraw.c $TERMUX_PKG_BUILDER_DIR/swab.c -lm -ljasper -ljpeg -llcms2 -o $TERMUX_PREFIX/bin/dcraw
chmod +w dcraw.1 # Add missing write permission chmod +w dcraw.1 # Add missing write permission
cp dcraw.1 $TERMUX_PREFIX/share/man/man1/ cp dcraw.1 $TERMUX_PREFIX/share/man/man1/
} }

Loading…
Cancel
Save