Added docbook2x-0.8.8 build template.
This commit is contained in:
parent
ae5ee38e36
commit
9282e83d31
Binary file not shown.
|
@ -0,0 +1,44 @@
|
||||||
|
# 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
|
||||||
|
}
|
Loading…
Reference in New Issue