diff --git a/security/pcsc-lite/pcsc-lite.conf b/security/pcsc-lite/pcsc-lite.conf index 538da9d4b..207cb8e89 100644 --- a/security/pcsc-lite/pcsc-lite.conf +++ b/security/pcsc-lite/pcsc-lite.conf @@ -2,7 +2,7 @@ # This copyright note is auto-generated by ./scripts/Create-CopyPatch. # # Filename: package/.../pcsc-lite/pcsc-lite.conf -# Copyright (C) 2011 The OpenSDE Project +# Copyright (C) 2011 - 2012 The OpenSDE Project # # More information can be found in the files COPYING and README. # @@ -12,7 +12,20 @@ # GNU General Public License can be found in the file COPYING. # --- SDE-COPYRIGHT-NOTE-END --- -# disable udev support if necessary -if ! pkginstalled -f udev; then +if pkginstalled -f libusb; then + var_append extraconfopt ' ' "--enable-libusb" var_append extraconfopt ' ' "--disable-libudev" +else + var_append extraconfopt ' ' "--enable-libudev" fi + +localstatedir="$localstatedir/lib/$pkg" + +var_append extraconfopt ' ' "--enable-usbdropdir=$localstatedir/driver" + +hook_add postmake 5 "pcsc-lite-pm" + +pcsc-lite-pm(){ + mkdir -p "$localstatedir/driver" +} + diff --git a/security/pcsc-lite/pcsc-lite.desc b/security/pcsc-lite/pcsc-lite.desc index f95a66edd..b993bd6bc 100644 --- a/security/pcsc-lite/pcsc-lite.desc +++ b/security/pcsc-lite/pcsc-lite.desc @@ -3,7 +3,7 @@ [COPY] This copyright note is auto-generated by ./scripts/Create-CopyPatch. [COPY] [COPY] Filename: package/.../pcsc-lite/pcsc-lite.desc -[COPY] Copyright (C) 2006 - 2011 The OpenSDE Project +[COPY] Copyright (C) 2006 - 2012 The OpenSDE Project [COPY] Copyright (C) 2004 - 2006 The T2 SDE Project [COPY] Copyright (C) 1998 - 2003 Clifford Wolf [COPY] @@ -32,7 +32,7 @@ [L] GPL [S] Beta -[V] 1.7.2 +[V] 1.8.2 [P] X -----5---9 120.200 -[D] 1327059048 pcsc-lite-1.7.2.tar.bz2 https://alioth.debian.org/frs/download.php/3533/ +[D] 1327059048 pcsc-lite-1.8.2.tar.bz2 https://alioth.debian.org/frs/download.php/3533/