|
|
@ -2,7 +2,7 @@ |
|
|
|
# This copyright note is auto-generated by ./scripts/Create-CopyPatch. |
|
|
|
# This copyright note is auto-generated by ./scripts/Create-CopyPatch. |
|
|
|
# |
|
|
|
# |
|
|
|
# Filename: package/.../pcsc-lite/pcsc-lite.conf |
|
|
|
# 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. |
|
|
|
# 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. |
|
|
|
# GNU General Public License can be found in the file COPYING. |
|
|
|
# --- SDE-COPYRIGHT-NOTE-END --- |
|
|
|
# --- SDE-COPYRIGHT-NOTE-END --- |
|
|
|
|
|
|
|
|
|
|
|
# disable udev support if necessary |
|
|
|
if pkginstalled -f libusb; then |
|
|
|
if ! pkginstalled -f udev; then |
|
|
|
var_append extraconfopt ' ' "--enable-libusb" |
|
|
|
var_append extraconfopt ' ' "--disable-libudev" |
|
|
|
var_append extraconfopt ' ' "--disable-libudev" |
|
|
|
|
|
|
|
else |
|
|
|
|
|
|
|
var_append extraconfopt ' ' "--enable-libudev" |
|
|
|
fi |
|
|
|
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" |
|
|
|
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|