30 lines
928 B
Plaintext
30 lines
928 B
Plaintext
# Description: DocBook belgelerini Unix yardım sayfası formatına ve GNU Texinfo formatına dönüştürür.
|
||
# URL: URL: http://docbook2x.sourceforge.net/
|
||
# NuTyX package info file (http://nutyx.org)
|
||
# Packager: milisarge
|
||
# 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
|
||
|
||
autoreconf -i -f
|
||
./configure --prefix=/usr \
|
||
--mandir=/usr/share/man \
|
||
--program-transform-name 's,2x-,2,'
|
||
make
|
||
make DESTDIR=$PKG install
|
||
|
||
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
|
||
}
|