talimat 931 B

1234567891011121314151617181920212223242526272829303132333435
  1. # Tanım: smart kartlar için araç seti ve kütüphane
  2. # URL: https://github.com/OpenSC/OpenSC/wiki
  3. # Paketçi: milisarge
  4. # Gerekler: pcsc-lite libxslt docbook-xsl
  5. # Grup: kütüphane
  6. isim=opensc
  7. surum=0.18.0
  8. devir=1
  9. kaynak=(https://github.com/OpenSC/OpenSC/releases/download/$surum/opensc-$surum.tar.gz::$isim-$surum.tar.gz
  10. bash-completion-path.patch)
  11. derle() {
  12. cd $isim-$surum
  13. patch -Np0 -i "$SRC"/bash-completion-path.patch
  14. export LIBS=-lltdl
  15. _sheetdir=(/usr/share/xml/docbook/xsl-stylesheets-*)
  16. ./bootstrap
  17. ./configure \
  18. --prefix=/usr \
  19. --sysconfdir=/etc \
  20. --enable-man \
  21. --disable-doc \
  22. --enable-readline \
  23. --enable-openssl \
  24. --enable-pcsc \
  25. --enable-zlib \
  26. --enable-sm \
  27. --with-xsl-stylesheetsdir="$_sheetdir"
  28. sed -i -e 's/ -shared / -Wl,-O1,--as-needed\0/g' libtool
  29. make
  30. make DESTDIR="$PKG" install
  31. install -D -m644 etc/opensc.conf "$PKG/etc/opensc.conf"
  32. }