wok annotate pcsc-tools/receipt @ rev 14190
Up: emacs (24.3)
author | Dominique Corbex <domcox@slitaz.org> |
---|---|
date | Tue Mar 12 23:02:05 2013 +0100 (2013-03-12) |
parents | |
children | 51a1ebbda768 |
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" |
pankso@13659 | 8 WEB_SITE="http://ludovic.rousseau.free.fr/softwares/pcsc-tools/" |
pankso@13659 | 9 TARBALL="$PACKAGE-$VERSION.tar.gz" |
pankso@13659 | 10 WGET_URL="http://ludovic.rousseau.free.fr/softwares/$PACKAGE/$TARBALL" |
pankso@13659 | 11 |
pankso@13659 | 12 DEPENDS="pcsc-lite perl-glib perl-gtk2 perl-pcsc" |
pankso@13659 | 13 BUILD_DEPENDS="pcsc-lite-dev" |
pankso@13659 | 14 |
pankso@13659 | 15 # Rules to configure and make the package. |
pankso@13659 | 16 compile_rules() |
pankso@13659 | 17 { |
pankso@13659 | 18 cd $src |
pankso@13659 | 19 sed -i -e 's:-Wall -O2:${CFLAGS}:g' Makefile |
pankso@13659 | 20 make && make DESTDIR=$DESTDIR/usr install |
pankso@13659 | 21 } |
pankso@13659 | 22 |
pankso@13659 | 23 # Rules to gen a SliTaz package suitable for Tazpkg. |
pankso@13659 | 24 genpkg_rules() |
pankso@13659 | 25 { |
pankso@13659 | 26 mkdir -p $fs/usr/share |
pankso@13659 | 27 cp -a $install/usr/bin $fs/usr |
pankso@13659 | 28 cp -a $install/usr/share/pcsc $fs/usr/share |
pankso@13659 | 29 } |