From 7b44f09d0ed4f41e46459dbb1824aaaae47bf193 Mon Sep 17 00:00:00 2001 From: Leonid Pliushch Date: Sun, 16 Jun 2019 14:43:48 +0300 Subject: [PATCH] new package: barcode --- packages/barcode/build.sh | 13 +++++++++++++ 1 file changed, 13 insertions(+) create mode 100644 packages/barcode/build.sh diff --git a/packages/barcode/build.sh b/packages/barcode/build.sh new file mode 100644 index 000000000..024ddb03a --- /dev/null +++ b/packages/barcode/build.sh @@ -0,0 +1,13 @@ +TERMUX_PKG_HOMEPAGE=https://www.gnu.org/software/barcode/ +TERMUX_PKG_DESCRIPTION="Tool to convert text strings to printed bars" +TERMUX_PKG_LICENSE="GPL-2.0" +TERMUX_PKG_MAINTAINER="Leonid Plyushch " +TERMUX_PKG_VERSION=0.99 +TERMUX_PKG_REVISION=3 +TERMUX_PKG_SRCURL=http://mirrors.kernel.org/gnu/barcode/barcode-$TERMUX_PKG_VERSION.tar.xz +TERMUX_PKG_SHA256=e87ecf6421573e17ce35879db8328617795258650831affd025fba42f155cdc6 +TERMUX_PKG_BUILD_DEPENDS="gettext" + +termux_step_pre_configure() { + CPPFLAGS+=" -I$TERMUX_PREFIX/share/gettext" +}