void-packages/srcpkgs/docbook2x/template

32 lines
962 B
Text
Raw Normal View History

2011-06-17 07:13:16 +00:00
# Template file for 'docbook2x'
pkgname=docbook2x
version=0.8.8
revision=2
2011-06-17 07:13:16 +00:00
patch_args="-Np1"
wrksrc="docbook2X-${version}"
build_style=gnu-configure
makedepends="texinfo libxslt docbook docbook-dsssl docbook-xsl perl-XML-SAX"
2011-06-17 07:13:16 +00:00
short_desc="DocBook converter to UNIX manpage and GNU Texinfo format"
maintainer="Juan RP <xtraeme@gmail.com>"
homepage="http://docbook2x.sourceforge.net"
license="MIT"
distfiles="${SOURCEFORGE_SITE}/$pkgname/docbook2X-$version.tar.gz"
2011-06-17 07:13:16 +00:00
checksum=4077757d367a9d1b1427e8d5dfc3c49d993e90deabc6df23d05cfe9cd2fcdc45
long_desc="
docbook2X is a software package that converts DocBook documents into the
traditional Unix man page format and the GNU Texinfo format."
post_install() {
2011-06-17 07:13:16 +00:00
sed -i -e 's|${prefix}|/usr|g' ${DESTDIR}/usr/bin/*
}
docbook2x_package() {
depends="${makedepends}"
xml_entries="
nextCatalog /usr/share/docbook2X/dtd/catalog.xml --
nextCatalog /usr/share/docbook2X/xslt/catalog.xml --"
pkg_install() {
vmove usr
}
}