2017-10-27 20:46:27 +02:00
|
|
|
|
# Tanım: DocBook belgelerini Unix yardım sayfası formatına ve GNU Texinfo formatına dönüştürür.
|
2018-08-17 11:33:53 +02:00
|
|
|
|
# URL: http://docbook2x.sourceforge.net/
|
2017-10-27 20:46:27 +02:00
|
|
|
|
# Paketçi: milisarge
|
|
|
|
|
# Gerekler: openjade libxslt perl-xml-sax
|
2018-08-17 11:33:53 +02:00
|
|
|
|
# Grup: sistem
|
2016-02-24 01:27:23 +01:00
|
|
|
|
|
2017-10-28 14:10:23 +02:00
|
|
|
|
isim=docbook2x
|
|
|
|
|
surum=0.8.8
|
|
|
|
|
devir=2
|
|
|
|
|
kaynak=(
|
|
|
|
|
http://downloads.sourceforge.net/$isim/docbook2X-$surum.tar.gz
|
2016-02-24 01:27:23 +01:00
|
|
|
|
docbook2x.datadir.patch)
|
|
|
|
|
|
2017-10-27 23:59:41 +02:00
|
|
|
|
derle(){
|
2017-10-28 14:10:23 +02:00
|
|
|
|
cd docbook2X-$surum
|
|
|
|
|
patch < ../$isim.datadir.patch || exit 1
|
2016-02-24 01:27:23 +01:00
|
|
|
|
sed -e 's/AM_CONFIG_HEADER(/AC_CONFIG_HEADERS(/' -i configure.ac || exit 1
|
2017-01-31 01:37:09 +01:00
|
|
|
|
|
2016-02-24 01:27:23 +01:00
|
|
|
|
autoreconf -i -f
|
|
|
|
|
./configure --prefix=/usr \
|
|
|
|
|
--mandir=/usr/share/man \
|
|
|
|
|
--program-transform-name 's,2x-,2,'
|
|
|
|
|
make
|
|
|
|
|
make DESTDIR=$PKG install
|
2017-01-31 01:37:09 +01:00
|
|
|
|
|
2016-02-24 01:27:23 +01:00
|
|
|
|
mv $PKG/usr/share/info/dir $PKG/usr/share/info/dir_docbook2x
|
|
|
|
|
sed -i 's|http://docbook2x.sf.net/latest|/usr/share/docbook2X|g' \
|
|
|
|
|
$PKG/usr/bin/db2x_xsltproc
|
|
|
|
|
}
|