wok diff openct/receipt @ rev 21519
mosh: update patch
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Fri May 03 16:47:04 2019 +0200 (2019-05-03) |
parents | |
children | 5ea0ce1cecc0 |
line diff
1.1 --- /dev/null Thu Jan 01 00:00:00 1970 +0000 1.2 +++ b/openct/receipt Fri May 03 16:47:04 2019 +0200 1.3 @@ -0,0 +1,40 @@ 1.4 +# SliTaz package receipt. 1.5 + 1.6 +PACKAGE="openct" 1.7 +VERSION="0.6.20" 1.8 +CATEGORY="misc" 1.9 +SHORT_DESC="Drivers for several smart card readers." 1.10 +MAINTAINER="pascal.bellard@slitaz.org" 1.11 +LICENSE="LGPL2.1" 1.12 +TARBALL="$PACKAGE-$VERSION.tar.gz" 1.13 +WEB_SITE="https://github.com/OpenSC/openct" 1.14 +WGET_URL="$WEB_SITE/archive/$TARBALL" 1.15 + 1.16 +DEPENDS="pcsc-lite libusb" 1.17 +BUILD_DEPENDS="automake libtool pcsc-lite-dev libusb-dev doxygen" 1.18 + 1.19 +# Rules to configure and make the package. 1.20 +compile_rules() 1.21 +{ 1.22 + mkdir -p $DESTDIR/etc 1.23 + ./bootstrap && 1.24 + ./configure --prefix=/usr \ 1.25 + --enable-pcsc \ 1.26 + --enable-usb \ 1.27 + --sysconfdir=/etc \ 1.28 + --infodir=/usr/share/info \ 1.29 + --mandir=/usr/share/man \ 1.30 + $CONFIGURE_ARGS && 1.31 + make && 1.32 + make DESTDIR=$DESTDIR install 1.33 +} 1.34 + 1.35 +# Rules to gen a SliTaz package suitable for Tazpkg. 1.36 +genpkg_rules() 1.37 +{ 1.38 + mkdir -p $fs/usr/lib 1.39 + cp -a $install/usr/lib/*.so* $fs/usr/lib 1.40 + cp -a $install/etc $fs 1.41 + cp -a $install/usr/bin $fs/usr 1.42 + cp -a $install/usr/sbin $fs/usr 1.43 +}