milis/talimatname/genel/d/docbook2x/talimat

30 lines
913 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.

# Tanım: 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)
# Paketçi: milisarge
# Gerekler: openjade libxslt perl-xml-sax
isim=docbook2x
surum=0.8.8
devir=2
kaynak=(
http://downloads.sourceforge.net/$isim/docbook2X-$surum.tar.gz
docbook2x.datadir.patch)
derle(){
cd docbook2X-$surum
patch < ../$isim.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
}