wok annotate barcode/receipt @ rev 25502

Up memtest-efi* (6.01)
author Pascal Bellard <pascal.bellard@slitaz.org>
date Sun Jan 15 09:58:15 2023 +0000 (22 months ago)
parents 018132cf1318
children
rev   line source
devl547@5631 1 # SliTaz package receipt.
devl547@5631 2
devl547@5631 3 PACKAGE="barcode"
Hans-G?nter@22529 4 VERSION="0.99"
devl547@5631 5 CATEGORY="utilities"
Hans-G?nter@22529 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/"
Hans-G?nter@22529 10
devl547@5631 11 TARBALL="$PACKAGE-$VERSION.tar.gz"
pascal@24373 12 WGET_URL="https://ftp.gnu.org/gnu/$PACKAGE/$TARBALL"
devl547@5631 13
Hans-G?nter@22529 14 BUILD_DEPENDS="automake libtool texinfo"
al@19275 15
pascal@24373 16 # What is the latest version available today?
pascal@24373 17 current_version()
pascal@24373 18 {
pascal@24373 19 wget -O - ${WGET_URL%/*} 2>/dev/null | \
pascal@24373 20 sed "/latest/d;/$PACKAGE-/!d;/tar/!d;s|.*$PACKAGE-\\(.*\\).tar.*\".*|\\1|" | sort -Vr | sed q
pascal@24373 21 }
devl547@5631 22 # Rules to configure and make the package.
devl547@5631 23 compile_rules()
devl547@5631 24 {
Hans-G?nter@22529 25 # 0.98
Hans-G?nter@22529 26 # patch -p1 -i $stuff/barcode.patch
Hans-G?nter@22529 27
al@19275 28 autoreconf -fi
pascal@19295 29 sed -i 's|/info|/share&|' Makefile*
Hans-G?nter@22529 30
Hans-G?nter@22529 31 ./configure $CONFIGURE_ARGS &&
Hans-G?nter@22529 32 make &&
Hans-G?nter@22529 33 make install
devl547@5631 34 }
devl547@5631 35
devl547@5631 36 # Rules to gen a SliTaz package suitable for Tazpkg.
devl547@5631 37 genpkg_rules()
devl547@5631 38 {
al@19275 39 cook_copy_files barcode
devl547@5631 40 }