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