s/TERMUX_PKG_BUILD_REVISION/TERMUX_PKG_REVISION/
[termux-packages] / packages / zbar / build.sh
1 TERMUX_PKG_HOMEPAGE=http://zbar.sourceforge.net
2 TERMUX_PKG_DESCRIPTION="Software suite for reading bar codes from various sources"
3 TERMUX_PKG_VERSION=0.10
4 TERMUX_PKG_REVISION=2
5 TERMUX_PKG_SRCURL=http://downloads.sourceforge.net/project/zbar/zbar/0.10/zbar-${TERMUX_PKG_VERSION}.tar.bz2
6 TERMUX_PKG_DEPENDS="imagemagick"
7 TERMUX_PKG_EXTRA_CONFIGURE_ARGS="--disable-pthread
8 --disable-video --without-xshm --without-xv
9 --without-x --without-gtk --without-qt
10 --without-python --mandir=$TERMUX_PREFIX/share/man"
11
12 termux_step_pre_configure () {
13 # Run autoreconf since we have patched configure.ac
14 cd $TERMUX_PKG_SRCDIR
15 autoconf
16 }