milis/talimatname/genel/o/opensc/talimat

32 lines
791 B
Plaintext
Raw Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

# Tanım: smart kartlar için araç seti ve kütüphane
# URL: https://github.com/OpenSC/OpenSC/wiki
# Paketçi: milisarge
# Gerekler: pcsc-lite libxslt docbook-xsl
isim=opensc
surum=0.16.0
devir=1
kaynak=(http://downloads.sourceforge.net/$isim/$isim-$surum.tar.gz)
derle() {
cd $isim-$surum
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"
}