Makefile 1.2 KB

12345678910111213141516171819202122232425262728293031323334353637
  1. # This file is part of the OpenADK project. OpenADK is copyrighted
  2. # material, please see the LICENCE file in the top-level directory.
  3. include ${ADK_TOPDIR}/rules.mk
  4. PKG_NAME:= sipsak
  5. PKG_VERSION:= 0.9.6
  6. PKG_RELEASE:= 2
  7. PKG_HASH:= 5064c56d482a080b6a4aea71821b78c21b59d44f6d1aa14c27429441917911a9
  8. PKG_DESCR:= sip stress and diagnostics utility
  9. PKG_SECTION:= net/voip
  10. PKG_URL:= http://sourceforge.net/projects/sipsak.berlios/
  11. PKG_SITES:= ${MASTER_SITE_SOURCEFORGE:=sipsak.berlios/}
  12. DISTFILES:= $(PKG_NAME)-$(PKG_VERSION)-1.tar.gz
  13. PKG_CHOICES_SIPSAK:= WITHOUT_SSL WITH_LIBRESSL WITH_OPENSSL
  14. PKGCD_WITHOUT_SSL:= use no ssl
  15. PKGCD_WITH_LIBRESSL:= use libressl for crypto
  16. PKGCB_WITH_LIBRESSL:= libressl
  17. PKGCS_WITH_LIBRESSL:= libressl ca-certificates
  18. PKGCD_WITH_OPENSSL:= use openssl for crypto
  19. PKGCB_WITH_OPENSSL:= openssl
  20. PKGCS_WITH_OPENSSL:= libopenssl ca-certificates
  21. include ${ADK_TOPDIR}/mk/package.mk
  22. $(eval $(call PKG_template,SIPSAK,sipsak,${PKG_VERSION}-${PKG_RELEASE},${PKG_DEPENDS},${PKG_DESCR},${PKG_SECTION}))
  23. CONFIGURE_ENV+= ac_cv_func_malloc_0_nonnull=yes
  24. CONFIGURE_ARGS+= --disable-gnutls
  25. sipsak-install:
  26. ${INSTALL_DIR} ${IDIR_SIPSAK}/usr/bin
  27. ${INSTALL_BIN} ${WRKINST}/usr/bin/sipsak ${IDIR_SIPSAK}/usr/bin/
  28. include ${ADK_TOPDIR}/mk/pkg-bottom.mk