| 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_BUILD_REVISION=1 |
| 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 --disable-video --without-xshm --without-xv --without-gtk --without-qt --without-python --mandir=$TERMUX_PREFIX/share/man" |
| 8 | |
| 9 | termux_step_pre_configure () { |
| 10 | # Run autoreconf since we have patched configure.ac |
| 11 | cd $TERMUX_PKG_SRCDIR |
| 12 | autoconf |
| 13 | } |