talimat 1.1 KB

123456789101112131415161718192021222324252627282930313233343536373839
  1. # Tanım: SGML/XML dosyalarını kullanmak için C++ kütüphanesi.
  2. # URL: http://openjade.sourceforge.net/doc/
  3. # Paketçi: milisarge
  4. # Gerekler: sgml-common
  5. # Grup: kütüphane
  6. isim=opensp
  7. surum=1.5.2
  8. devir=1
  9. kaynak=(http://downloads.sourceforge.net/openjade/OpenSP-$surum.tar.gz)
  10. derle(){
  11. cd OpenSP-$surum
  12. sed -i 's/32,/253,/' lib/Syntax.cxx &&
  13. sed -i 's/LITLEN 240 /LITLEN 8092/' \
  14. unicode/{gensyntax.pl,unicode.syn} &&
  15. ./configure --prefix=/usr \
  16. --disable-static \
  17. --disable-doc-build \
  18. --enable-default-catalog=/etc/sgml/catalog \
  19. --enable-http \
  20. --enable-default-search-path=/usr/share/sgml
  21. make DESTDIR=$PKG install
  22. # create the SP equivalents of OpenSP executables and libraries
  23. cd $PKG/usr/bin
  24. ln -v -sf onsgmls nsgmls
  25. ln -v -sf osgmlnorm sgmlnorm
  26. ln -v -sf ospam spam
  27. ln -v -sf ospcat spcat
  28. ln -v -sf ospent spent
  29. ln -v -sf osx sx
  30. ln -v -sf osx sgml2xml
  31. cd $PKG/usr/lib
  32. ln -v -sf libosp.so libsp.so
  33. }