2019-03-28 04:19:21 +01:00
|
|
|
TERMUX_PKG_HOMEPAGE=https://pcsclite.apdu.fr/
|
|
|
|
TERMUX_PKG_DESCRIPTION="Middleware to access a smart card using SCard API (PC/SC)."
|
|
|
|
TERMUX_PKG_LICENSE="BSD 3-Clause"
|
|
|
|
TERMUX_PKG_VERSION=1.8.24
|
2019-03-28 21:36:46 +01:00
|
|
|
TERMUX_PKG_SRCURL=https://pcsclite.apdu.fr/files/pcsc-lite-${TERMUX_PKG_VERSION}.tar.bz2
|
2019-03-28 04:19:21 +01:00
|
|
|
TERMUX_PKG_SHA256=b81864fa6a5ec776639c02ae89998955f7702a8d10e8b8f70023c5a599d97568
|
|
|
|
TERMUX_PKG_DEPENDS="libusb"
|
|
|
|
TERMUX_PKG_DEVPACKAGE_DEPENDS="python2"
|
|
|
|
TERMUX_PKG_BUILD_DEPENDS="flex"
|
|
|
|
TERMUX_PKG_EXTRA_CONFIGURE_ARGS="
|
|
|
|
--exec-prefix=$TERMUX_PREFIX
|
|
|
|
--sbindir=$TERMUX_PREFIX/bin
|
|
|
|
--enable-ipcdir=$TERMUX_PREFIX/var/run
|
|
|
|
--disable-libsystemd
|
|
|
|
--disable-libudev"
|
|
|
|
TERMUX_PKG_INCLUDE_IN_DEVPACKAGE="bin/pcsc-spy share/man/man1/pcsc-spy.1.gz"
|
|
|
|
|
|
|
|
termux_step_pre_configure() {
|
|
|
|
LDFLAGS+=" -llog"
|
|
|
|
}
|