32 lines
806 B
Plaintext
32 lines
806 B
Plaintext
# Description: smart kartlar için araç seti ve kütüphane
|
|
# URL: https://github.com/OpenSC/OpenSC/wiki
|
|
# Packager: milisarge
|
|
# Depends on: pcsc-lite libxslt docbook-xsl
|
|
|
|
name=opensc
|
|
version=0.16.0
|
|
release=1
|
|
source=(http://downloads.sourceforge.net/$name/$name-$version.tar.gz)
|
|
|
|
build() {
|
|
cd $name-$version
|
|
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"
|
|
}
|