opensc.paketlendi
This commit is contained in:
parent
747ddc3b45
commit
f86c654cbf
|
@ -0,0 +1,31 @@
|
|||
# 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"
|
||||
}
|
|
@ -0,0 +1,17 @@
|
|||
# Description: Karma tabloların ve bağlı bir listenin C önişlemci uygulamaları
|
||||
# URL: https://troydhanson.github.io/uthash/
|
||||
# Packager: milisarge
|
||||
# Depends on:
|
||||
|
||||
name=uthash
|
||||
version=2.0.2
|
||||
release=1
|
||||
source=(https://github.com/troydhanson/uthash/archive/v$version.tar.gz)
|
||||
|
||||
build() {
|
||||
cd "${SRC}/${name}-${version}/src"
|
||||
install -dm755 "${PKG}"/usr/include/
|
||||
for h in *.h; do
|
||||
install -m 644 ${h} "${PKG}"/usr/include/
|
||||
done
|
||||
}
|
Loading…
Reference in New Issue