wok-6.x view pcsc-tools/receipt @ rev 25142

updated pjsip and pjsip-dev (2.8 -> 2.11.1)
author Hans-G?nter Theisgen
date Wed Jun 29 14:35:46 2022 +0100 (2022-06-29)
parents 241fb98cab1c
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="http://ludovic.rousseau.free.fr/softwares/pcsc-tools/"
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 - ${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 }