Both compiler packages depend on it already, and its presence makes it easy to accidentally create build cycles by putting gcc in the dependency path when it shouldn't be.
37 lines
987 B
Bash
37 lines
987 B
Bash
# Template file for 'opensp'
|
|
pkgname=opensp
|
|
version=1.5.2
|
|
revision=9
|
|
wrksrc="OpenSP-${version}"
|
|
build_style=gnu-configure
|
|
configure_args="--enable-http --enable-default-catalog=/usr/share/sgml/catalog"
|
|
hostmakedepends="automake gettext-devel xmlto libtool"
|
|
makedepends="docbook-xsl xmlcatmgr"
|
|
depends="xmlcatmgr"
|
|
short_desc="SGML parser, successor to sp"
|
|
maintainer="Orphaned <orphan@voidlinux.org>"
|
|
license="X11"
|
|
homepage="http://openjade.sourceforge.net/"
|
|
distfiles="${SOURCEFORGE_SITE}/openjade/OpenSP-$version.tar.gz"
|
|
checksum=57f4898498a368918b0d49c826aa434bb5b703d2c3b169beb348016ab25617ce
|
|
sgml_entries="CATALOG /usr/share/OpenSP/catalog --"
|
|
|
|
keep_libtool_archives=yes
|
|
|
|
pre_configure() {
|
|
autoreconf -fi
|
|
}
|
|
post_install() {
|
|
ln -s onsgmls ${DESTDIR}/usr/bin/nsgmls
|
|
vlicense COPYING
|
|
}
|
|
|
|
opensp-devel_package() {
|
|
depends="${sourcepkg}>=${version}_${revision}"
|
|
short_desc+=" - development files"
|
|
pkg_install() {
|
|
vmove usr/include
|
|
vmove "usr/lib/*.a"
|
|
vmove "usr/lib/*.so"
|
|
}
|
|
}
|