milis/talimatname/genel/o/opensp/talimat

39 lines
1.1 KiB
Plaintext
Raw Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

# Tanım: SGML/XML dosyalarını kullanmak için C++ kütüphanesi.
# URL: http://openjade.sourceforge.net/doc/
# Paketçi: milisarge
# Gerekler: sgml-common
# Grup: kütüphane
isim=opensp
surum=1.5.2
devir=1
kaynak=(http://downloads.sourceforge.net/openjade/OpenSP-$surum.tar.gz)
derle(){
cd OpenSP-$surum
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
}