wok-6.x annotate pcsc-tools/receipt @ rev 25391
updated usb-modeswitch-data (20170806 -> 20191128)
author | Hans-G?nter Theisgen |
---|---|
date | Mon Aug 01 15:21:41 2022 +0100 (2022-08-01) |
parents | 241fb98cab1c |
children |
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" |
pascal@24984 | 12 WGET_URL="https://salsa.debian.org/rousseau/$PACKAGE/-/archive/$VERSION/$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 } |