talimat 1.2 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748
  1. # Tanım: Kararlı, modern ve hafif IRC arka plan
  2. # URL: http://www.inspircd.org/
  3. # Paketçi: Cihan_Alkan
  4. # Gerekler: mariadb sqlite geoip gnutls libgcrypt openldap
  5. # Grup: ağ
  6. isim=inspircd
  7. surum=2.0.24
  8. devir=1
  9. kaynak=(https://github.com/inspircd/inspircd/archive/v$surum.tar.gz::$isim-$surum.tar.gz)
  10. derle() {
  11. cd "${SRC}/inspircd-${surum}"
  12. ./configure \
  13. --enable-extras=m_geoip.cpp \
  14. --enable-extras=m_ldapauth.cpp \
  15. --enable-extras=m_ldapoper.cpp \
  16. --enable-extras=m_mysql.cpp \
  17. --enable-extras=m_regex_pcre.cpp \
  18. --enable-extras=m_regex_posix.cpp \
  19. --enable-extras=m_sqlite3.cpp
  20. ./configure \
  21. --uid \
  22. --prefix=/usr/lib/inspircd \
  23. --binary-dir=/usr/bin \
  24. --module-dir=/usr/lib/inspircd/modules \
  25. --config-dir=/etc/inspircd \
  26. --data-dir=/var/lib/inspircd \
  27. --log-dir=/var/log/inspircd \
  28. --enable-gnutls \
  29. --enable-openssl \
  30. --enable-epoll
  31. make
  32. install -o141 -g141 -dm750 "${PKG}/var/log/inspircd" "${PKG}/var/lib/inspircd"
  33. make DESTDIR="$PKG" install
  34. mkdir -p "${PKG}"/usr/share/inspircd
  35. mv "${PKG}"/etc/inspircd/examples "${PKG}"/usr/share/inspircd/examples
  36. rm -rf "${PKG}"/usr/lib/inspircd/logs
  37. rm -rf "${PKG}"/usr/lib/inspircd/data
  38. }