wok view pcsc-tools/receipt @ rev 25608

Update some current_version
author Pascal Bellard <pascal.bellard@slitaz.org>
date Thu Jul 20 09:05:42 2023 +0000 (9 months ago)
parents 2b0142c9f248
children
line source
1 # SliTaz package receipt.
3 PACKAGE="pcsc-tools"
4 VERSION="1.5.6"
5 CATEGORY="system-tools"
6 SHORT_DESC="PC/SC Architecture smartcard tools."
7 MAINTAINER="pankso@slitaz.org"
8 LICENSE="GPL2"
9 WEB_SITE="https://pcsc-tools.apdu.fr/"
11 TARBALL="$PACKAGE-$VERSION.tar.bz2"
12 WGET_URL="https://salsa.debian.org/rousseau/$PACKAGE/-/archive/$VERSION/$TARBALL"
14 DEPENDS="pcsc-lite perl-glib perl-gtk2 perl-pcsc"
15 BUILD_DEPENDS="pcsc-lite-dev"
17 # What is the latest version available today?
18 current_version()
19 {
20 wget -O - $WEB_SITE 2>/dev/null | \
21 sed '/pcsc-tools-/!d;s|.*pcsc-tools-||;s|.t.*||;q'
22 }
24 # Rules to configure and make the package.
25 compile_rules()
26 {
27 # sed -i -e 's:-Wall -O2:${CFLAGS}:g' Makefile
28 ./configure \
29 --prefix=/usr \
30 $CONFIGURE_ARGS &&
31 make &&
32 make DESTDIR=$DESTDIR install
33 }
35 # Rules to gen a SliTaz package suitable for Tazpkg.
36 genpkg_rules()
37 {
38 mkdir -p $fs/usr/share
40 cp -a $install/usr/bin $fs/usr
41 cp -a $install/usr/share/pcsc $fs/usr/share
42 }