2017-10-27 20:46:27 +02:00
|
|
|
|
# Tanım: smart kartlar için araç seti ve kütüphane
|
2017-06-19 11:23:00 +02:00
|
|
|
|
# URL: https://github.com/OpenSC/OpenSC/wiki
|
2017-10-27 20:46:27 +02:00
|
|
|
|
# Paketçi: milisarge
|
|
|
|
|
# Gerekler: pcsc-lite libxslt docbook-xsl
|
2017-06-19 11:23:00 +02:00
|
|
|
|
|
2017-10-28 14:10:23 +02:00
|
|
|
|
isim=opensc
|
|
|
|
|
surum=0.16.0
|
|
|
|
|
devir=1
|
|
|
|
|
kaynak=(http://downloads.sourceforge.net/$isim/$isim-$surum.tar.gz)
|
2017-06-19 11:23:00 +02:00
|
|
|
|
|
2017-10-27 23:59:41 +02:00
|
|
|
|
derle() {
|
2017-10-28 14:10:23 +02:00
|
|
|
|
cd $isim-$surum
|
2017-06-19 11:23:00 +02:00
|
|
|
|
export LIBS=-lltdl
|
|
|
|
|
_sheetdir=(/usr/share/xml/docbook/xsl-stylesheets-*)
|
|
|
|
|
./bootstrap
|
|
|
|
|
./configure \
|
|
|
|
|
--prefix=/usr \
|
|
|
|
|
--sysconfdir=/etc \
|
|
|
|
|
--enable-man \
|
|
|
|
|
--disable-doc \
|
|
|
|
|
--enable-readline \
|
|
|
|
|
--enable-openssl \
|
|
|
|
|
--enable-pcsc \
|
|
|
|
|
--enable-zlib \
|
|
|
|
|
--enable-sm \
|
|
|
|
|
--with-xsl-stylesheetsdir="$_sheetdir"
|
|
|
|
|
sed -i -e 's/ -shared / -Wl,-O1,--as-needed\0/g' libtool
|
|
|
|
|
make
|
|
|
|
|
make DESTDIR="$PKG" install
|
|
|
|
|
install -D -m644 etc/opensc.conf "$PKG/etc/opensc.conf"
|
|
|
|
|
}
|