milis/talimatname/genel/o/opensp/talimat

38 lines
1.1 KiB
Plaintext
Raw Normal View History

2017-10-27 20:46:27 +02:00
# Tanım: SGML / XML dosyalarını kullanmak için C ++ kütüphanesi.
2017-04-06 13:17:50 +02:00
# URL: http://openjade.sourceforge.net/doc/
2017-10-27 20:46:27 +02:00
# Paketçi: milisarge
# Gerekler: sgml-common
2017-04-06 13:17:50 +02:00
2016-02-24 01:27:23 +01:00
name=opensp
version=1.5.2
release=1
2017-09-22 00:01:02 +02:00
source=(http://downloads.sourceforge.net/openjade/OpenSP-$version.tar.gz)
2016-02-24 01:27:23 +01:00
2017-09-22 00:01:02 +02:00
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
2016-02-24 01:27:23 +01:00
}