From 8dc7063ca91442b9b7815287c058ca186cdee6cf Mon Sep 17 00:00:00 2001 From: milisbir Date: Thu, 21 Sep 2017 23:22:50 +0300 Subject: [PATCH] openjade --- talimatname/genel/opensp/talimat | 36 +++++++++----------------------- 1 file changed, 10 insertions(+), 26 deletions(-) diff --git a/talimatname/genel/opensp/talimat b/talimatname/genel/opensp/talimat index b8f74cc67..34f99c5f2 100644 --- a/talimatname/genel/opensp/talimat +++ b/talimatname/genel/opensp/talimat @@ -6,32 +6,16 @@ name=opensp version=1.5.2 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(){ - cd OpenSP-$version - sed -i 's/32,/253,/' lib/Syntax.cxx && - sed -i 's/LITLEN 240 /LITLEN 8092/' \ - unicode/{gensyntax.pl,unicode.syn} && - - ./configure --prefix=/usr \ - --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 + ./configure \ + --prefix=/usr \ + --disable-doc-build + + make + make DESTDIR=$PKG install + rm -r $PKG/usr/share/doc }