wok view opensc/receipt @ rev 23981
Add dog
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Sat Nov 21 12:40:17 2020 +0000 (2020-11-21) |
parents | 6d00a8a36741 |
children | 5ea0ce1cecc0 |
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 # Rules to configure and make the package.
19 compile_rules()
20 {
21 ./configure \
22 --prefix=/usr \
23 --sysconfdir=/etc \
24 --localstatedir=/var \
25 --mandir=/usr/share/man \
26 $CONFIGURE_ARGS &&
27 make &&
28 make DESTDIR=$DESTDIR install
29 }
31 # Rules to gen a SliTaz package suitable for Tazpkg.
32 genpkg_rules()
33 {
34 mkdir -p $fs/usr/share
36 cp -a $install/etc $fs
37 cp -a $install/usr/bin $fs/usr
38 cp -a $install/usr/share/opensc $fs/usr/share
39 cp -a $install/usr/lib $fs/usr
40 }