SliTaz Packages

Community Doc Forum Pro Shop Bugs Hg
.

Receipt for package "perl-pcsc"

# SliTaz package receipt.

PACKAGE="perl-pcsc"
VERSION="1.4.14"
CATEGORY="system-tools"
SHORT_DESC="Perl Module for PC/SC SmartCard access."
MAINTAINER="pankso@slitaz.org"
LICENSE="GPL"
WEB_SITE="https://pcsc-perl.apdu.fr/"

SOURCE="pcsc-perl"
TARBALL="$SOURCE-$VERSION.tar.bz2"
WGET_URL="https://cpan.metacpan.org/authors/id/W/WH/WHOM/$TARBALL"

DEPENDS="pcsc-lite perl"
BUILD_DEPENDS="pcsc-lite-dev perl"

current_version()
{
    wget -O - $WEB_SITE 2>/dev/null | \
    sed '/release-name/!d;s|.*-v*||;s|<.*||;q'
}

# Rules to configure and make the package.
compile_rules()
{
    perl Makefile.PL &&
    make &&
    make DESTDIR=$DESTDIR install
}

# Rules to gen a SliTaz package suitable for Tazpkg.
genpkg_rules()
{
    mkdir -p $fs/usr
    cp -a $install/usr/lib    $fs/usr
}
5935 packages and 845883 files in cooking database (Thu Jun 27 00:01:54 2024)