wok annotate opensc/receipt @ rev 18483

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