void-packages/srcpkgs/docbook2x/template

31 lines
962 B
Text

# Template file for 'docbook2x'
pkgname=docbook2x
version=0.8.8
revision=2
patch_args="-Np1"
wrksrc="docbook2X-${version}"
build_style=gnu-configure
makedepends="texinfo libxslt docbook docbook-dsssl docbook-xsl perl-XML-SAX"
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"
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() {
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
}
}