openjade
This commit is contained in:
parent
9ee418f188
commit
8dc7063ca9
|
@ -6,32 +6,16 @@
|
||||||
name=opensp
|
name=opensp
|
||||||
version=1.5.2
|
version=1.5.2
|
||||||
release=1
|
release=1
|
||||||
|
source=(http://downloads.sourceforge.net/project/openjade/$name/$version/OpenSP-$version.tar.gz)
|
||||||
|
|
||||||
source=(http://downloads.sourceforge.net/openjade/OpenSP-$version.tar.gz)
|
build() {
|
||||||
|
cd OpenSP-$version
|
||||||
|
|
||||||
build(){
|
./configure \
|
||||||
cd OpenSP-$version
|
--prefix=/usr \
|
||||||
sed -i 's/32,/253,/' lib/Syntax.cxx &&
|
--disable-doc-build
|
||||||
sed -i 's/LITLEN 240 /LITLEN 8092/' \
|
|
||||||
unicode/{gensyntax.pl,unicode.syn} &&
|
make
|
||||||
|
make DESTDIR=$PKG install
|
||||||
./configure --prefix=/usr \
|
rm -r $PKG/usr/share/doc
|
||||||
--disable-static \
|
|
||||||
--disable-doc-build \
|
|
||||||
--enable-default-catalog=/etc/sgml/catalog \
|
|
||||||
--enable-http \
|
|
||||||
--enable-default-search-path=/usr/share/sgml
|
|
||||||
make DESTDIR=$PKG install
|
|
||||||
|
|
||||||
# create the SP equivalents of OpenSP executables and libraries
|
|
||||||
cd $PKG/usr/bin
|
|
||||||
ln -v -sf onsgmls nsgmls
|
|
||||||
ln -v -sf osgmlnorm sgmlnorm
|
|
||||||
ln -v -sf ospam spam
|
|
||||||
ln -v -sf ospcat spcat
|
|
||||||
ln -v -sf ospent spent
|
|
||||||
ln -v -sf osx sx
|
|
||||||
ln -v -sf osx sgml2xml
|
|
||||||
cd $PKG/usr/lib
|
|
||||||
ln -v -sf libosp.so libsp.so
|
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue