description="PC/SC Architecture smartcard tools"
url="http://ludovic.rousseau.free.fr/softwares/pcsc-tools/"
packager="Spiky <spiky@nutyx.org>"
contributors="Pierre,Tnut,Spiky"

makedepends=(pcsclite perl-pcsc perl-glib pkg-config)
run=(perl-pcsc)

name=pcsc-tools
version=1.6.0

source=(http://ludovic.rousseau.free.fr/softwares/$name/$name-$version.tar.bz2)

build() {
  cd $name-$version
  ./configure --prefix=/usr
  sed -i -e 's:-Wall -O2:${CFLAGS}:g' Makefile
  make
  make DESTDIR=$PKG/usr install
}

