wok annotate barcode/receipt @ rev 19699

bash: patches in SOURCES_REPOSITORY
author Pascal Bellard <pascal.bellard@slitaz.org>
date Tue Feb 14 09:37:31 2017 +0100 (2017-02-14)
parents 11b5e93cb5f2
children 018132cf1318
rev   line source
devl547@5631 1 # SliTaz package receipt.
devl547@5631 2
devl547@5631 3 PACKAGE="barcode"
devl547@5631 4 VERSION="0.98"
devl547@5631 5 CATEGORY="utilities"
devl547@5631 6 SHORT_DESC="barcode generator"
devl547@5631 7 MAINTAINER="devl547@gmail.com"
pascal@15263 8 LICENSE="GPL2"
al@19275 9 WEB_SITE="https://www.gnu.org/software/barcode/"
devl547@5631 10 TARBALL="$PACKAGE-$VERSION.tar.gz"
devl547@5631 11 WGET_URL="ftp://ftp.gnu.org/gnu/$PACKAGE/$TARBALL"
devl547@5631 12
al@19275 13 BUILD_DEPENDS="automake texinfo"
al@19275 14
devl547@5631 15 # Rules to configure and make the package.
devl547@5631 16 compile_rules()
devl547@5631 17 {
al@19275 18 patch -p1 -i $stuff/barcode.patch
al@19275 19 autoreconf -fi
pascal@19295 20 sed -i 's|/info|/share&|' Makefile*
al@19275 21 ./configure $CONFIGURE_ARGS && make && make install
devl547@5631 22 }
devl547@5631 23
devl547@5631 24 # Rules to gen a SliTaz package suitable for Tazpkg.
devl547@5631 25 genpkg_rules()
devl547@5631 26 {
al@19275 27 cook_copy_files barcode
devl547@5631 28 }