wok view barcode/receipt @ rev 25079
updated orc and orc-dev (0.4.29 -> 0.4.32)
author | Hans-G?nter Theisgen |
---|---|
date | Wed Jun 15 15:25:16 2022 +0100 (2022-06-15) |
parents | 018132cf1318 |
children |
line source
1 # SliTaz package receipt.
3 PACKAGE="barcode"
4 VERSION="0.99"
5 CATEGORY="utilities"
6 SHORT_DESC="Barcode generator."
7 MAINTAINER="devl547@gmail.com"
8 LICENSE="GPL2"
9 WEB_SITE="https://www.gnu.org/software/barcode/"
11 TARBALL="$PACKAGE-$VERSION.tar.gz"
12 WGET_URL="https://ftp.gnu.org/gnu/$PACKAGE/$TARBALL"
14 BUILD_DEPENDS="automake libtool texinfo"
16 # What is the latest version available today?
17 current_version()
18 {
19 wget -O - ${WGET_URL%/*} 2>/dev/null | \
20 sed "/latest/d;/$PACKAGE-/!d;/tar/!d;s|.*$PACKAGE-\\(.*\\).tar.*\".*|\\1|" | sort -Vr | sed q
21 }
22 # Rules to configure and make the package.
23 compile_rules()
24 {
25 # 0.98
26 # patch -p1 -i $stuff/barcode.patch
28 autoreconf -fi
29 sed -i 's|/info|/share&|' Makefile*
31 ./configure $CONFIGURE_ARGS &&
32 make &&
33 make install
34 }
36 # Rules to gen a SliTaz package suitable for Tazpkg.
37 genpkg_rules()
38 {
39 cook_copy_files barcode
40 }