wok view pcsc-tools/receipt @ rev 24832
updated libspiro and libspiro-dev (0.5.20150702 -> 20200505)
author | Hans-G?nter Theisgen |
---|---|
date | Fri Mar 25 06:24:51 2022 +0100 (2022-03-25) |
parents | 41dac681279f |
children | 2b0142c9f248 |
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="http://ludovic.rousseau.free.fr/softwares/pcsc-tools/"
11 TARBALL="$PACKAGE-$VERSION.tar.bz2"
12 WGET_URL="http://ludovic.rousseau.free.fr/softwares/$PACKAGE/$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 - ${WGET_URL%/*}/ 2>/dev/null | \
21 sed "/latest/d;/$PACKAGE-[0-9]/!d;/tar/!d;s|.*$PACKAGE-\\(.*\\).tar.*|\\1|" | sort -Vr | sed 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 }