2011-06-16 14:37:40 +00:00
|
|
|
# Template file for 'opensp'
|
|
|
|
pkgname=opensp
|
|
|
|
version=1.5.2
|
2013-04-14 03:01:48 +00:00
|
|
|
revision=4
|
2011-06-16 14:37:40 +00:00
|
|
|
wrksrc="OpenSP-${version}"
|
2011-10-24 12:14:47 +00:00
|
|
|
build_style=gnu-configure
|
2011-06-16 14:37:40 +00:00
|
|
|
configure_args="--enable-http --enable-default-catalog=/usr/share/sgml/catalog"
|
2013-04-14 03:01:48 +00:00
|
|
|
makedepends="xmlto docbook-xsl xmlcatmgr"
|
2012-06-05 20:40:24 +00:00
|
|
|
short_desc="SGML parser, successor to sp"
|
2011-06-16 14:37:40 +00:00
|
|
|
maintainer="Juan RP <xtraeme@gmail.com>"
|
2011-06-17 05:24:59 +00:00
|
|
|
homepage="http://openjade.sourceforge.net/"
|
|
|
|
license="MIT"
|
2012-06-05 20:40:24 +00:00
|
|
|
distfiles="${SOURCEFORGE_SITE}/openjade/OpenSP-$version.tar.gz"
|
2011-06-16 14:37:40 +00:00
|
|
|
checksum=57f4898498a368918b0d49c826aa434bb5b703d2c3b169beb348016ab25617ce
|
|
|
|
long_desc="
|
2011-06-17 05:24:59 +00:00
|
|
|
This package is a collection of SGML/XML tools called OpenSP. It is a fork
|
|
|
|
from James Clark's SP suite.
|
|
|
|
|
|
|
|
These tools are used to parse, validate, and normalize SGML and XML files.
|
|
|
|
The central programs included in this package are 'onsgmls', which replaces
|
2012-06-05 20:40:24 +00:00
|
|
|
sgmls, 'ospam', 'ospent', 'osgmlnorm', and 'osx'."
|
2011-06-17 05:24:59 +00:00
|
|
|
|
2013-04-14 03:01:48 +00:00
|
|
|
keep_libtool_archives=yes
|
|
|
|
|
2012-02-27 17:43:54 +00:00
|
|
|
post_install() {
|
2011-06-17 05:24:59 +00:00
|
|
|
# Some programs expect 'nsgmls'... make it a symlink.
|
|
|
|
cd ${DESTDIR}/usr/bin && ln -s onsgmls nsgmls
|
|
|
|
}
|
2013-04-14 03:01:48 +00:00
|
|
|
|
|
|
|
opensp-devel_package() {
|
|
|
|
depends="libstdc++-devel opensp>=${version}"
|
|
|
|
short_desc="${short_desc} - development files"
|
|
|
|
pkg_install() {
|
|
|
|
vmove usr/include
|
|
|
|
vmove "usr/lib/*.a"
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
opensp_package() {
|
|
|
|
sgml_entries="CATALOG /usr/share/OpenSP/catalog --"
|
|
|
|
depends="xmlcatmgr"
|
|
|
|
pkg_install() {
|
|
|
|
vmove usr
|
|
|
|
}
|
|
|
|
}
|