This commit is contained in:
milisbir 2018-06-12 16:20:47 +02:00
parent 54598f55b1
commit 5b268dc1a6
2 changed files with 15 additions and 2 deletions

View File

@ -0,0 +1,11 @@
--- doc/tools/Makefile.am.orig
+++ doc/tools/Makefile.am
@@ -11,7 +11,7 @@
endif
completion_DATA = $(patsubst $(srcdir)/%.1.xml, %, $(wildcard $(srcdir)/*.1.xml))
-completiondir = $(sysconfdir)/bash_completion.d
+completiondir = $(datarootdir)/bash-completion/completions
tools.html: $(srcdir)/tools.xml $(wildcard $(srcdir)/*.1.xml) $(wildcard $(srcdir)/*.5.xml)
$(XSLTPROC) --nonet --path "$(srcdir)/..:$(xslstylesheetsdir)/html" --xinclude -o $@ html.xsl $<

View File

@ -4,12 +4,14 @@
# Gerekler: pcsc-lite libxslt docbook-xsl
isim=opensc
surum=0.16.0
surum=0.18.0
devir=1
kaynak=(http://downloads.sourceforge.net/$isim/$isim-$surum.tar.gz)
kaynak=(https://github.com/OpenSC/OpenSC/releases/download/$surum/opensc-$surum.tar.gz::$isim-$surum.tar.gz
bash-completion-path.patch)
derle() {
cd $isim-$surum
patch -Np0 -i "$SRC"/bash-completion-path.patch
export LIBS=-lltdl
_sheetdir=(/usr/share/xml/docbook/xsl-stylesheets-*)
./bootstrap