# HG changeset patch # User Pascal Bellard # Date 1346238567 -7200 # Node ID 46fe3a436982c75f716baab938ebfe5fc03cef71 # Parent ddc427bd1e9eb4ab7a4e16b88af9945155235407 Add pcsc-lite diff -r ddc427bd1e9e -r 46fe3a436982 pcsc-lite-dev/receipt --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/pcsc-lite-dev/receipt Wed Aug 29 13:09:27 2012 +0200 @@ -0,0 +1,19 @@ +# SliTaz package receipt. + +PACKAGE="pcsc-lite-dev" +VERSION="1.8.5" +CATEGORY="developement" +SHORT_DESC="SCard interface for communicating to smart cards and readers, developement files" +MAINTAINER="pascal.bellard@slitaz.org" +WEB_SITE="http://pcsclite.alioth.debian.org/" +WANTED="pcsc-lite" +DEPENDS="pcsc-lite" + +# Rules to gen a SliTaz package suitable for Tazpkg. +genpkg_rules() +{ + mkdir -p $fs/usr/lib + cp -a $install/usr/include $fs/usr + cp -a $install/usr/lib/*a $fs/usr/lib + cp -a $install/usr/lib/pkgconfig $fs/usr/lib +} diff -r ddc427bd1e9e -r 46fe3a436982 pcsc-lite/receipt --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/pcsc-lite/receipt Wed Aug 29 13:09:27 2012 +0200 @@ -0,0 +1,32 @@ +# SliTaz package receipt. + +PACKAGE="pcsc-lite" +VERSION="1.8.5" +CATEGORY="base-system" +SHORT_DESC="SCard interface for communicating to smart cards and readers." +MAINTAINER="pascal.bellard@slitaz.org" +WEB_SITE="http://pcsclite.alioth.debian.org/" +TARBALL="$PACKAGE-$VERSION.tar.bz2" +WGET_URL="https://alioth.debian.org/frs/download.php/3741/$TARBALL" + +DEPENDS="udev" +BUILD_DEPENDS="wget udev-dev perl libtool" + +# Rules to configure and make the package. +compile_rules() +{ + cd $src + ./configure --prefix=/usr \ + --enable-usbdropdir=/usr/lib/pscs/drivers \ + $CONFIGURE_ARGS && + make && make DESTDIR=$DESTDIR install +} + +# Rules to gen a SliTaz package suitable for Tazpkg. +genpkg_rules() +{ + mkdir -p $fs/usr/lib + cp -a $install/usr/lib/*.so* $fs/usr/lib + cp -a $install/usr/sbin $fs/usr + cp -a $install/usr/bin $fs/usr +}