tsocks: Fix building with tar strip-components
[termux-packages] / packages / zbar / build.sh
index a3dc972..c759a8e 100644 (file)
@@ -1,16 +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_REVISION=3
+TERMUX_PKG_REVISION=6
 TERMUX_PKG_SRCURL=http://downloads.sourceforge.net/project/zbar/zbar/0.10/zbar-${TERMUX_PKG_VERSION}.tar.bz2
-TERMUX_PKG_DEPENDS="imagemagick"
+TERMUX_PKG_SHA256=234efb39dbbe5cef4189cc76f37afbe3cfcfb45ae52493bfe8e191318bdbadc6
+TERMUX_PKG_DEPENDS="imagemagick, libjpeg-turbo"
 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
 }