wok-current view opensc/receipt @ rev 19853
Remove tazchroot (not used for yearsand unusable)
author | Christophe Lincoln <pankso@slitaz.org> |
---|---|
date | Thu Mar 16 18:35:33 2017 +0100 (2017-03-16) |
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 }