wok annotate perl-pcsc/receipt @ rev 25464
httpfs2-fuse: update bdeps
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Fri Sep 30 09:07:42 2022 +0000 (2022-09-30) |
parents | 4363819c5f7a |
children | 72fb3028d8ce |
rev | line source |
---|---|
pankso@13658 | 1 # SliTaz package receipt. |
pankso@13658 | 2 |
pankso@13658 | 3 PACKAGE="perl-pcsc" |
Hans-G?nter@23387 | 4 VERSION="1.4.14" |
pankso@13658 | 5 CATEGORY="system-tools" |
pankso@13658 | 6 SHORT_DESC="Perl Module for PC/SC SmartCard access." |
pankso@13658 | 7 MAINTAINER="pankso@slitaz.org" |
pascal@14702 | 8 LICENSE="GPL" |
Hans-G?nter@23387 | 9 WEB_SITE="https://metacpan.org/release/pcsc-perl" |
Hans-G?nter@23387 | 10 |
Hans-G?nter@23387 | 11 SOURCE="pcsc-perl" |
pankso@13658 | 12 TARBALL="$SOURCE-$VERSION.tar.bz2" |
Hans-G?nter@23387 | 13 WGET_URL="https://cpan.metacpan.org/authors/id/W/WH/WHOM/$TARBALL" |
pankso@13658 | 14 |
Hans-G?nter@23387 | 15 DEPENDS="pcsc-lite perl" |
Hans-G?nter@23387 | 16 BUILD_DEPENDS="pcsc-lite-dev perl" |
pankso@13658 | 17 |
pascal@24102 | 18 current_version() |
pascal@24102 | 19 { |
pascal@24102 | 20 wget -O - $WEB_SITE 2>/dev/null | \ |
pascal@24102 | 21 sed '/release-name/!d;s|.*-v*||;s|<.*||;q' |
pascal@24102 | 22 } |
pascal@24102 | 23 |
pankso@13658 | 24 # Rules to configure and make the package. |
pankso@13658 | 25 compile_rules() |
pankso@13658 | 26 { |
pankso@13658 | 27 perl Makefile.PL && |
Hans-G?nter@23387 | 28 make && |
Hans-G?nter@23387 | 29 make DESTDIR=$DESTDIR install |
pankso@13658 | 30 } |
pankso@13658 | 31 |
pankso@13658 | 32 # Rules to gen a SliTaz package suitable for Tazpkg. |
pankso@13658 | 33 genpkg_rules() |
pankso@13658 | 34 { |
pankso@13658 | 35 mkdir -p $fs/usr |
Hans-G?nter@23387 | 36 cp -a $install/usr/lib $fs/usr |
pankso@13658 | 37 } |