Pkgfile 779 B

12345678910111213141516171819202122232425262728293031323334353637383940
  1. # Description: Simple Authentication and Security Layer
  2. # URL: https://cyrusimap.org
  3. # Maintainer: Abdullah Khan, ak at theak dot me
  4. # Depends on: db openssl
  5. name=cyrus-sasl
  6. version=2.1.27
  7. release=2
  8. source=()
  9. gitsource=https://github.com/cyrusimap/cyrus-sasl.git
  10. build() {
  11. git clone $gitsource $name
  12. cd $name
  13. ./autogen.sh
  14. ./configure \
  15. --prefix=/usr \
  16. --with-plugindir=/usr/lib/sasl2 \
  17. --with-saslauthd=/var/sasl/saslauthd \
  18. --with-dbpath=/etc/sasl/sasldb2 \
  19. --with-dblib=berkeley \
  20. --with-bdb-incdir=/usr/include \
  21. --with-bdb-libdir=/usr/lib \
  22. --with-openssl=/usr \
  23. --enable-login \
  24. --enable-cram \
  25. --enable-digest \
  26. --enable-shared
  27. make -j2
  28. make DESTDIR=$PKG install
  29. }
  30. # vim:set ft=sh ts=4 et: