milis/talimatname/genel/docbook2x/talimat

30 lines
928 B
Plaintext
Raw Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

# 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
}