talimat 1.1 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051
  1. # Tanım: Prolog environment
  2. # URL: http://www.swi-prolog.org/
  3. # Paketçi: milisarge
  4. # Gerekler: libjpeg-turbo xorg-libxft xorg-libxinerama xorg-libxpm unixodbc
  5. # Grup: geliştirme
  6. isim=swi-prolog
  7. surum=7.6.4
  8. devir=2
  9. kaynak=(http://www.swi-prolog.org/download/stable/src/swipl-${surum/_/-}.tar.gz)
  10. derle() {
  11. cd "swipl-${surum/_/-}"
  12. ./configure --with-world --prefix=/usr
  13. (cd src; ./configure --enable-readline --prefix=/usr)
  14. make
  15. make -C "$SRC/swipl-${surum/_/-}" check || true
  16. make -C "$SRC/swipl-${surum/_/-}" DESTDIR="$PKG" install
  17. # Fix for FS#20873
  18. chmod +x "$PKG/usr/lib/swipl-${surum/_/-}/library/dialect/sicstus/swipl-lfr.pl"
  19. cd packages
  20. ./configure \
  21. --with-cpp \
  22. --with-clib \
  23. --with-odbc \
  24. --with-table \
  25. --with-xpce \
  26. --with-sgml \
  27. --with-RDF \
  28. --with-semweb \
  29. --with-http \
  30. --with-chr \
  31. --with-clpqr \
  32. --with-nlp \
  33. --with-ssl \
  34. --with-tipc \
  35. --with-pldoc \
  36. --with-plunit \
  37. --with-zlib \
  38. --with-R \
  39. --with-pengines \
  40. --with-protobufs \
  41. --with-PDT \
  42. --with-utf8proc \
  43. --with-archive \
  44. --without-jpl
  45. make all
  46. make install DESTDIR=$PKG
  47. }