wok-6.x annotate perl-pcsc/receipt @ rev 24740
updated libexif-gtk and libexif-gtk-dev (0.4.0 -> 0.5.0)
author | Hans-G?nter Theisgen |
---|---|
date | Wed Mar 16 10:07:05 2022 +0100 (2022-03-16) |
parents | 4363819c5f7a |
children |
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 } |