From 9d3a83346a7711b7a88800a202a1b0775d2d2e68 Mon Sep 17 00:00:00 2001 From: Carlo Landmeter Date: Tue, 4 Mar 2014 22:26:34 +0000 Subject: main/pcsc-list: upgrade to 1.8.11 and move to main --- main/pcsc-lite/APKBUILD | 74 +++++++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 74 insertions(+) create mode 100644 main/pcsc-lite/APKBUILD (limited to 'main/pcsc-lite/APKBUILD') diff --git a/main/pcsc-lite/APKBUILD b/main/pcsc-lite/APKBUILD new file mode 100644 index 000000000..aec600ed9 --- /dev/null +++ b/main/pcsc-lite/APKBUILD @@ -0,0 +1,74 @@ +# Contributor: Carlo Landmeter +# Maintainer: +pkgname=pcsc-lite +pkgver=1.8.11 +pkgrel=0 +pkgdesc="Middleware to access a smart card using SCard API (PC/SC)" +url="http://pcsclite.alioth.debian.org/pcsclite.html" +arch="all" +license="Custom" +depends="" +depends_dev="udev-dev" +makedepends="$depends_dev perl automake autoconf libtool" +install="pcsc-lite.pre-install" +subpackages="$pkgname-dev $pkgname-doc $pkgname-libs" +source="https://alioth.debian.org/frs/download.php/file/3991/pcsc-lite-1.8.11.tar.bz2 + pcscd.initd + pcsc-lite-1.8.11-nopolkit.patch" + +_builddir="$srcdir"/pcsc-lite-$pkgver +prepare() { + local i + cd "$_builddir" + for i in $source; do + case $i in + *.patch) msg $i; patch -p1 -i "$srcdir"/$i || return 1;; + esac + done +} + +build() { + cd "$_builddir" + ./bootstrap + ./configure --prefix=/usr \ + --sysconfdir=/etc \ + --mandir=/usr/share/man \ + --infodir=/usr/share/info \ + --localstatedir=/var \ + --disable-libusb \ + --enable-libudev \ + --disable-maintainer-mode \ + --disable-silent-rules \ + --without-systemdsystemunitdir \ + --enable-ipcdir=/run/pcscd \ + --enable-usbdropdir=/usr/lib/pcsc/drivers \ + --disable-polkit \ + || return 1 + make || return 1 +} + +package() { + cd "$_builddir" + make DESTDIR="$pkgdir" install || return 1 + install -D -m755 "$srcdir"/pcscd.initd \ + "$pkgdir"/etc/init.d/pcscd || return 1 + mkdir -p "$pkgdir"/usr/lib/pcsc/drivers + rm -f "$pkgdir"/usr/lib/*.la +} + +libs() { + pkgdesc="Middleware to access a smart card using SCard API (PC/SC) (libraries)" + mkdir -p "$subpkgdir"/usr + mv "$pkgdir"/usr/lib \ + "$subpkgdir"/usr || return 1 +} + +md5sums="73502ca4ba6526727f9f49c63d805408 pcsc-lite-1.8.11.tar.bz2 +6268a2247c0f3aa2998da1432e5a43d0 pcscd.initd +04d6b0bd35bc7b95319d483222675335 pcsc-lite-1.8.11-nopolkit.patch" +sha256sums="945041c94c53959ae5a767616a4ec5099fe67f549bfd344e8bd0cfe7a3c71ac6 pcsc-lite-1.8.11.tar.bz2 +4668c7b42d51c1b5dd05671d538fdb443603ee900542afeb0a817e9fcf42ef94 pcscd.initd +f35db5c74576bb656130f0a0402cd67917a65fb63fb37b7fcddca5800e76ad9a pcsc-lite-1.8.11-nopolkit.patch" +sha512sums="22f65f27f5b5cab04f6067f820c2564c3b42fcb3a54764416aa8676c9e19ccae1f0414f4e90d7ef1b91e27535bdfa31d73f5af4a9d994957d4ab369b0aadc5bd pcsc-lite-1.8.11.tar.bz2 +5b929ab607b3c897cb7d34e01af94f1481c3dc6c1c46f54ed04a35079c6f8fb082346263ba0efdd99e83f17bd6fd2726444d6ebca0f5f947d935b018448d86a5 pcscd.initd +54e91069a6a0a87c02d986cf9b51096f7aac2f559cfd0603c32439a9ff0604b33d1d799790312fa876d3331ce88be2a0457c5f64219c5b5276263a6f2675e97f pcsc-lite-1.8.11-nopolkit.patch" -- cgit v1.2.3