wok view opensc/receipt @ rev 19016
Up slitaz-arm-rpi (212)
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Fri Apr 01 10:29:04 2016 +0200 (2016-04-01) |
parents | |
children | 6d00a8a36741 |
line source
1 # SliTaz package receipt.
3 PACKAGE="opensc"
4 VERSION="0.13.0"
5 CATEGORY="security"
6 SHORT_DESC="Tools and libraries for smart cards."
7 MAINTAINER="pascal.bellard@slitaz.org"
8 LICENSE="LGPL2.1"
9 TARBALL="$PACKAGE-$VERSION.tar.gz"
10 WEB_SITE="https://github.com/OpenSC/OpenSC/wiki"
11 WGET_URL="$SF_MIRROR/$PACKAGE/$TARBALL"
12 CONFIG_FILES="/etc/opensc.conf"
14 DEPENDS="libcrypto zlib"
15 BUILD_DEPENDS="pcsc-lite-dev openssl-dev"
17 # Rules to configure and make the package.
18 compile_rules()
19 {
20 ./configure --prefix=/usr \
21 --sysconfdir=/etc \
22 --localstatedir=/var \
23 --mandir=/usr/share/man \
24 $CONFIGURE_ARGS &&
25 make &&
26 make DESTDIR=$DESTDIR install
27 }
29 # Rules to gen a SliTaz package suitable for Tazpkg.
30 genpkg_rules()
31 {
32 mkdir -p $fs/usr/share
33 cp -a $install/etc $fs
34 cp -a $install/usr/bin $fs/usr
35 cp -a $install/usr/share/opensc $fs/usr/share
36 cp -a $install/usr/lib $fs/usr
37 }