wok annotate pcsc-tools/receipt @ rev 24636

updated haserl and haserl-lua (0.9.35 -> 0.9.36)
author Hans-G?nter Theisgen
date Wed Mar 09 10:55:44 2022 +0100 (2022-03-09)
parents 41dac681279f
children 2b0142c9f248
rev   line source
pankso@13659 1 # SliTaz package receipt.
pankso@13659 2
pankso@13659 3 PACKAGE="pcsc-tools"
Hans-G?nter@23284 4 VERSION="1.5.6"
pankso@13659 5 CATEGORY="system-tools"
pankso@13659 6 SHORT_DESC="PC/SC Architecture smartcard tools."
pankso@13659 7 MAINTAINER="pankso@slitaz.org"
pascal@15375 8 LICENSE="GPL2"
pankso@13659 9 WEB_SITE="http://ludovic.rousseau.free.fr/softwares/pcsc-tools/"
Hans-G?nter@21670 10
Hans-G?nter@21670 11 TARBALL="$PACKAGE-$VERSION.tar.bz2"
pankso@13659 12 WGET_URL="http://ludovic.rousseau.free.fr/softwares/$PACKAGE/$TARBALL"
pankso@13659 13
pankso@13659 14 DEPENDS="pcsc-lite perl-glib perl-gtk2 perl-pcsc"
pankso@13659 15 BUILD_DEPENDS="pcsc-lite-dev"
pankso@13659 16
pascal@24453 17 # What is the latest version available today?
pascal@24453 18 current_version()
pascal@24453 19 {
pascal@24453 20 wget -O - ${WGET_URL%/*}/ 2>/dev/null | \
pascal@24453 21 sed "/latest/d;/$PACKAGE-[0-9]/!d;/tar/!d;s|.*$PACKAGE-\\(.*\\).tar.*|\\1|" | sort -Vr | sed q
pascal@24453 22 }
pascal@24453 23
pankso@13659 24 # Rules to configure and make the package.
pankso@13659 25 compile_rules()
pankso@13659 26 {
Hans-G?nter@21670 27 # sed -i -e 's:-Wall -O2:${CFLAGS}:g' Makefile
Hans-G?nter@21670 28 ./configure \
Hans-G?nter@21670 29 --prefix=/usr \
Hans-G?nter@21670 30 $CONFIGURE_ARGS &&
Hans-G?nter@21670 31 make &&
Hans-G?nter@21670 32 make DESTDIR=$DESTDIR install
pankso@13659 33 }
pankso@13659 34
pankso@13659 35 # Rules to gen a SliTaz package suitable for Tazpkg.
pankso@13659 36 genpkg_rules()
pankso@13659 37 {
pankso@13659 38 mkdir -p $fs/usr/share
Hans-G?nter@21670 39
Hans-G?nter@21670 40 cp -a $install/usr/bin $fs/usr
Hans-G?nter@21670 41 cp -a $install/usr/share/pcsc $fs/usr/share
pankso@13659 42 }