void-packages/srcpkgs/docbook2x/template
Juan RP 23dd7d008e Update build_style for all templates.
- There's no need to set build_style for custom-install (default).
- gnu_{configure,makefile} renamed to gnu-{configure,makefile}.
2011-10-24 14:14:47 +02:00

44 lines
1.2 KiB
Text

# Template file for 'docbook2x'
pkgname=docbook2x
version=0.8.8
patch_args="-Np1"
wrksrc="docbook2X-${version}"
distfiles="${SOURCEFORGE_SITE}/$pkgname/docbook2X-$version.tar.gz"
build_style=gnu-configure
short_desc="DocBook converter to UNIX manpage and GNU Texinfo format"
maintainer="Juan RP <xtraeme@gmail.com>"
homepage="http://docbook2x.sourceforge.net"
license="MIT"
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."
export xml_entries="
nextCatalog /usr/share/docbook2X/dtd/catalog.xml --
nextCatalog /usr/share/docbook2X/xslt/catalog.xml --"
Add_dependency run glibc
Add_dependency full texinfo
Add_dependency full libxslt
Add_dependency full docbook
Add_dependency full docbook-dsssl
Add_dependency full docbook-xml
Add_dependency full docbook-xsl
Add_dependency full perl-XML-SAX
Add_dependency full xmlcatmgr
post_install()
{
sed -i -e 's|${prefix}|/usr|g' ${DESTDIR}/usr/bin/*
}
post_stow()
{
cd ${XBPS_MASTERDIR} && ${XBPS_TRIGGERSDIR}/xml-catalog run post-install
}
pre_remove()
{
cd ${XBPS_MASTERDIR} && ${XBPS_TRIGGERSDIR}/xml-catalog run pre-remove
}