diff options
author | Timo Teräs <timo.teras@iki.fi> | 2016-09-01 14:31:57 +0300 |
---|---|---|
committer | Timo Teräs <timo.teras@iki.fi> | 2016-09-01 14:31:57 +0300 |
commit | 390b13183135eb3996495d8899aa3d46b1821953 (patch) | |
tree | 52dbf812f202377c3c690ad3f187329c939164e0 /community/ccid | |
parent | a8c247307146a1d93e5abf7ed52e665a84734c16 (diff) | |
download | aports-390b13183135eb3996495d8899aa3d46b1821953.tar.bz2 aports-390b13183135eb3996495d8899aa3d46b1821953.tar.xz |
community/ccid: moved from unmaintained, and upgrade to 1.4.24
Diffstat (limited to 'community/ccid')
-rw-r--r-- | community/ccid/APKBUILD | 42 |
1 files changed, 42 insertions, 0 deletions
diff --git a/community/ccid/APKBUILD b/community/ccid/APKBUILD new file mode 100644 index 0000000000..4666b93cf7 --- /dev/null +++ b/community/ccid/APKBUILD @@ -0,0 +1,42 @@ +# Contributor: Timo Teräs <timo.teras@iki.fi> +# Maintainer: Timo Teräs <timo.teras@iki.fi> +pkgname=ccid +pkgver=1.4.24 +pkgrel=0 +pkgdesc="USB CCID/ICCD SmartCard reader driver" +url="https://pcsclite.alioth.debian.org/ccid.html" +arch="all" +license="LGPL2.1+" +depends="pcsc-lite" +makedepends="perl libusb-dev pcsc-lite-dev" +install="" +subpackages="" +source="https://alioth.debian.org/frs/download.php/file/4171/ccid-$pkgver.tar.bz2" + +builddir="$srcdir"/ccid-$pkgver + +build() { + cd "$builddir" + ./configure \ + --build=$CBUILD \ + --host=$CHOST \ + --prefix=/usr \ + --sysconfdir=/etc \ + --mandir=/usr/share/man \ + --infodir=/usr/share/info \ + --localstatedir=/var \ + || return 1 + make || return 1 +} + +package() { + cd "$builddir" + make DESTDIR="$pkgdir" install || return 1 + + mkdir -p "$pkgdir"/etc/udev/rules.d/ || return 1 + cp src/92_pcscd_ccid.rules "$pkgdir"/etc/udev/rules.d/ || return 1 +} + +md5sums="915a03cda85b60fefbe3654cbdc68ca9 ccid-1.4.24.tar.bz2" +sha256sums="62cb73c6c009c9799c526f05a05e25f00f0ad86d50f82a714dedcfbf4a7e4176 ccid-1.4.24.tar.bz2" +sha512sums="4904165fdd089cd6f28b1c27130119d3433641a9cea5d6700afd1daa2722f763e2b348a42af4a292fdd08da45c7b17b2804b32b1fbe0ff19dccf58ec3310b09f ccid-1.4.24.tar.bz2" |