milis/talimatname/genel/d/docbook2x/talimat

30 lines
928 B
Plaintext
Raw Normal View History

2017-03-22 12:51:05 +01:00
# Description: DocBook belgelerini Unix yardım sayfası formatına ve GNU Texinfo formatına dönüştürür.
2016-02-24 01:27:23 +01:00
# URL: URL: http://docbook2x.sourceforge.net/
# NuTyX package info file (http://nutyx.org)
2017-01-31 01:37:09 +01:00
# Packager: milisarge
2016-02-24 01:27:23 +01:00
# Depends on: openjade libxslt perl-xml-sax
name=docbook2x
version=0.8.8
release=2
source=(
http://downloads.sourceforge.net/$name/docbook2X-$version.tar.gz
docbook2x.datadir.patch)
build(){
cd docbook2X-$version
patch < ../$name.datadir.patch || exit 1
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
}