wok-6.x annotate pcsc-tools/receipt @ rev 15375
Add some licenses
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Fri Oct 18 19:43:55 2013 +0000 (2013-10-18) |
parents | 111165cbc6d4 |
children | 3169a7ccbddc |
rev | line source |
---|---|
pankso@13659 | 1 # SliTaz package receipt. |
pankso@13659 | 2 |
pankso@13659 | 3 PACKAGE="pcsc-tools" |
pankso@13659 | 4 VERSION="1.4.20" |
pankso@13659 | 5 CATEGORY="system-tools" |
pankso@13659 | 6 SHORT_DESC="PC/SC Architecture smartcard tools." |
pankso@13659 | 7 MAINTAINER="pankso@slitaz.org" |
pascal@15375 | 8 LICENSE="GPL2" |
pankso@13659 | 9 WEB_SITE="http://ludovic.rousseau.free.fr/softwares/pcsc-tools/" |
pankso@13659 | 10 TARBALL="$PACKAGE-$VERSION.tar.gz" |
pankso@13659 | 11 WGET_URL="http://ludovic.rousseau.free.fr/softwares/$PACKAGE/$TARBALL" |
pankso@13659 | 12 |
pankso@13659 | 13 DEPENDS="pcsc-lite perl-glib perl-gtk2 perl-pcsc" |
pankso@13659 | 14 BUILD_DEPENDS="pcsc-lite-dev" |
pankso@13659 | 15 |
pankso@13659 | 16 # Rules to configure and make the package. |
pankso@13659 | 17 compile_rules() |
pankso@13659 | 18 { |
pankso@13659 | 19 cd $src |
pankso@13659 | 20 sed -i -e 's:-Wall -O2:${CFLAGS}:g' Makefile |
pankso@13659 | 21 make && make DESTDIR=$DESTDIR/usr install |
pankso@13659 | 22 } |
pankso@13659 | 23 |
pankso@13659 | 24 # Rules to gen a SliTaz package suitable for Tazpkg. |
pankso@13659 | 25 genpkg_rules() |
pankso@13659 | 26 { |
pankso@13659 | 27 mkdir -p $fs/usr/share |
pankso@13659 | 28 cp -a $install/usr/bin $fs/usr |
pankso@13659 | 29 cp -a $install/usr/share/pcsc $fs/usr/share |
pankso@13659 | 30 } |