wok-current view openct/receipt @ rev 20097

Up tazpanel (616)
author Pascal Bellard <pascal.bellard@slitaz.org>
date Sat Oct 07 13:20:59 2017 +0200 (2017-10-07)
parents
children 5ea0ce1cecc0
line source
1 # SliTaz package receipt.
3 PACKAGE="openct"
4 VERSION="0.6.20"
5 CATEGORY="misc"
6 SHORT_DESC="Drivers for several smart card readers."
7 MAINTAINER="pascal.bellard@slitaz.org"
8 LICENSE="LGPL2.1"
9 TARBALL="$PACKAGE-$VERSION.tar.gz"
10 WEB_SITE="https://github.com/OpenSC/openct"
11 WGET_URL="$WEB_SITE/archive/$TARBALL"
13 DEPENDS="pcsc-lite libusb"
14 BUILD_DEPENDS="automake libtool pcsc-lite-dev libusb-dev doxygen"
16 # Rules to configure and make the package.
17 compile_rules()
18 {
19 mkdir -p $DESTDIR/etc
20 ./bootstrap &&
21 ./configure --prefix=/usr \
22 --enable-pcsc \
23 --enable-usb \
24 --sysconfdir=/etc \
25 --infodir=/usr/share/info \
26 --mandir=/usr/share/man \
27 $CONFIGURE_ARGS &&
28 make &&
29 make DESTDIR=$DESTDIR install
30 }
32 # Rules to gen a SliTaz package suitable for Tazpkg.
33 genpkg_rules()
34 {
35 mkdir -p $fs/usr/lib
36 cp -a $install/usr/lib/*.so* $fs/usr/lib
37 cp -a $install/etc $fs
38 cp -a $install/usr/bin $fs/usr
39 cp -a $install/usr/sbin $fs/usr
40 }