wok annotate opensc/receipt @ rev 23440

linux-zram: autostart
author Pascal Bellard <pascal.bellard@slitaz.org>
date Thu Apr 02 12:22:43 2020 +0200 (2020-04-02)
parents 6d00a8a36741
children 5ea0ce1cecc0
rev   line source
pascal@16234 1 # SliTaz package receipt.
pascal@16234 2
pascal@16234 3 PACKAGE="opensc"
Hans-G?nter@21636 4 VERSION="0.19.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"
Hans-G?nter@21636 9 WEB_SITE="https://github.com/OpenSC/OpenSC/wiki"
Hans-G?nter@21636 10
pascal@16234 11 TARBALL="$PACKAGE-$VERSION.tar.gz"
Hans-G?nter@21637 12 WGET_URL="https://github.com/OpenSc/OpenSc/releases/download/$VERSION/$TARBALL"
pascal@16234 13
pascal@16234 14 DEPENDS="libcrypto zlib"
Hans-G?nter@21636 15 BUILD_DEPENDS="openssl-dev pcsc-lite-dev"
Hans-G?nter@21636 16 CONFIG_FILES="/etc/opensc.conf"
pascal@16234 17
pascal@16234 18 # Rules to configure and make the package.
pascal@16234 19 compile_rules()
pascal@16234 20 {
Hans-G?nter@21636 21 ./configure \
Hans-G?nter@21636 22 --prefix=/usr \
Hans-G?nter@21636 23 --sysconfdir=/etc \
Hans-G?nter@21636 24 --localstatedir=/var \
Hans-G?nter@21636 25 --mandir=/usr/share/man \
pascal@16234 26 $CONFIGURE_ARGS &&
pascal@16234 27 make &&
pascal@16234 28 make DESTDIR=$DESTDIR install
pascal@16234 29 }
pascal@16234 30
pascal@16234 31 # Rules to gen a SliTaz package suitable for Tazpkg.
pascal@16234 32 genpkg_rules()
pascal@16234 33 {
pascal@16234 34 mkdir -p $fs/usr/share
Hans-G?nter@21636 35
Hans-G?nter@21636 36 cp -a $install/etc $fs
Hans-G?nter@21636 37 cp -a $install/usr/bin $fs/usr
Hans-G?nter@21636 38 cp -a $install/usr/share/opensc $fs/usr/share
Hans-G?nter@21636 39 cp -a $install/usr/lib $fs/usr
pascal@16234 40 }