UmVirt LFS Package info

DB commit: 48bb9ee31306c82c48dfaaad707eb4f6a926eb8a
APP commit: 1ca4178aea919e4c9e869e3d650ff8af9678bd6f
[ BASH | XML | JSON ]

OpenSP

The OpenSP package contains a C++ library for using SGML/XML files. This is useful for validating, parsing and manipulating SGML and XML documents.

Package info

Codename: OpenSP
Source file: OpenSP-1.5.2.tar.gz
Source directory: OpenSP-1.5.2
Package URL: https://umvirt.com/linux/downloads/0.2.2/packages/o/OpenSP-1.5.2.tar.gz
Package md5-checksum URL: https://umvirt.com/linux/downloads/0.2.2/packages/o/OpenSP-1.5.2.tar.gz.md5sum
Dependances: sgml-common, xmlto, libnsl.
Dependance of: openjade.
Patches: *** NO PATCHES FOUND ***
Addons: *** NO ADDONS FOUND ***
Nestings *** NO NESTINGS FOUND ***
Configuration script:
sed -i 's/32,/253,/' lib/Syntax.cxx &&
sed -i 's/LITLEN          240 /LITLEN          8092/' \
    unicode/{gensyntax.pl,unicode.syn} &&


ARG_STATIC="--disable-static"
if [[ "$ULFS_PKG_STATIC" == "YES" ]]
then
    ARG_STATIC="--enable-static"
fi

./configure --prefix=/usr                              \
            $ARG_STATIC                                \
            --disable-doc-build                        \
            --enable-default-catalog=/etc/sgml/catalog \
            --enable-http                              \
            --enable-default-search-path=/usr/share/sgml

Build script:
make pkgdatadir=/usr/share/sgml/OpenSP-1.5.2

Install script:
make pkgdatadir=/usr/share/sgml/OpenSP-1.5.2 \
     docdir=/usr/share/doc/OpenSP-1.5.2      \
     install &&

ln -v -sf onsgmls   /usr/bin/nsgmls   &&
ln -v -sf osgmlnorm /usr/bin/sgmlnorm &&
ln -v -sf ospam     /usr/bin/spam     &&
ln -v -sf ospcat    /usr/bin/spcat    &&
ln -v -sf ospent    /usr/bin/spent    &&
ln -v -sf osx       /usr/bin/sx       &&
ln -v -sf osx       /usr/bin/sgml2xml &&
ln -v -sf libosp.so /usr/lib/libsp.so