~mdw
/
termux-packages
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Add basic TERMUX_PKG_BUILD_DEPENDS support
[termux-packages]
/
packages
/
zbar
/
build.sh
diff --git
a/packages/zbar/build.sh
b/packages/zbar/build.sh
index
fec6dad
..
7ebd80f
100644
(file)
--- a/
packages/zbar/build.sh
+++ b/
packages/zbar/build.sh
@@
-1,6
+1,15
@@
TERMUX_PKG_HOMEPAGE=http://zbar.sourceforge.net
TERMUX_PKG_DESCRIPTION="Software suite for reading bar codes from various sources"
TERMUX_PKG_VERSION=0.10
TERMUX_PKG_HOMEPAGE=http://zbar.sourceforge.net
TERMUX_PKG_DESCRIPTION="Software suite for reading bar codes from various sources"
TERMUX_PKG_VERSION=0.10
+TERMUX_PKG_REVISION=5
TERMUX_PKG_SRCURL=http://downloads.sourceforge.net/project/zbar/zbar/0.10/zbar-${TERMUX_PKG_VERSION}.tar.bz2
TERMUX_PKG_SRCURL=http://downloads.sourceforge.net/project/zbar/zbar/0.10/zbar-${TERMUX_PKG_VERSION}.tar.bz2
+TERMUX_PKG_SHA256=234efb39dbbe5cef4189cc76f37afbe3cfcfb45ae52493bfe8e191318bdbadc6
TERMUX_PKG_DEPENDS="imagemagick"
TERMUX_PKG_DEPENDS="imagemagick"
-TERMUX_PKG_EXTRA_CONFIGURE_ARGS="--disable-pthread --disable-video --without-xshm --without-xv --without-gtk --without-qt --without-python --mandir=$TERMUX_PREFIX/share/man"
+TERMUX_PKG_EXTRA_CONFIGURE_ARGS="--disable-pthread
+--disable-video --without-xshm --without-xv
+--without-x --without-gtk --without-qt
+--without-python --mandir=$TERMUX_PREFIX/share/man"
+
+termux_step_pre_configure () {
+ autoconf
+}