s/TERMUX_PKG_BUILD_REVISION/TERMUX_PKG_REVISION/
[termux-packages] / packages / zbar / build.sh
index e381479..66a0be4 100644 (file)
@@ -1,7 +1,16 @@
 TERMUX_PKG_HOMEPAGE=http://zbar.sourceforge.net
-TERMUX_PKG_DESCRIPTION="ZBar is an open source software suite for reading bar codes from various sources"
+TERMUX_PKG_DESCRIPTION="Software suite for reading bar codes from various sources"
 TERMUX_PKG_VERSION=0.10
-TERMUX_PKG_BUILD_REVISION=1
+TERMUX_PKG_REVISION=2
 TERMUX_PKG_SRCURL=http://downloads.sourceforge.net/project/zbar/zbar/0.10/zbar-${TERMUX_PKG_VERSION}.tar.bz2
 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 () {
+       # Run autoreconf since we have patched configure.ac
+       cd $TERMUX_PKG_SRCDIR
+       autoconf
+}