wok view opensc/receipt @ rev 24651
updated i2c-tools and i2c-tools-dev (4.1 -> 4.3)
author | Hans-G?nter Theisgen |
---|---|
date | Thu Mar 10 17:14:42 2022 +0100 (2022-03-10) |
parents | 5ea0ce1cecc0 |
children |
line source
1 # SliTaz package receipt.
3 PACKAGE="opensc"
4 VERSION="0.19.0"
5 CATEGORY="security"
6 SHORT_DESC="Tools and libraries for smart cards."
7 MAINTAINER="pascal.bellard@slitaz.org"
8 LICENSE="LGPL2.1"
9 WEB_SITE="https://github.com/OpenSC/OpenSC/wiki"
11 TARBALL="$PACKAGE-$VERSION.tar.gz"
12 WGET_URL="https://github.com/OpenSc/OpenSc/releases/download/$VERSION/$TARBALL"
14 DEPENDS="libcrypto zlib"
15 BUILD_DEPENDS="openssl-dev pcsc-lite-dev"
16 CONFIG_FILES="/etc/opensc.conf"
18 current_version()
19 {
20 wget -O - ${WGET_URL%/rele*} 2>/dev/null | \
21 sed '/releases.tag/!d;s|.*/tag.\(.*\)".*|\1|;q'
22 }
24 # Rules to configure and make the package.
25 compile_rules()
26 {
27 ./configure \
28 --prefix=/usr \
29 --sysconfdir=/etc \
30 --localstatedir=/var \
31 --mandir=/usr/share/man \
32 $CONFIGURE_ARGS &&
33 make &&
34 make DESTDIR=$DESTDIR install
35 }
37 # Rules to gen a SliTaz package suitable for Tazpkg.
38 genpkg_rules()
39 {
40 mkdir -p $fs/usr/share
42 cp -a $install/etc $fs
43 cp -a $install/usr/bin $fs/usr
44 cp -a $install/usr/share/opensc $fs/usr/share
45 cp -a $install/usr/lib $fs/usr
46 }