Makefile 1.3 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950
  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 ${TOPDIR}/rules.mk
  4. PKG_NAME:= irssi
  5. PKG_VERSION:= 0.8.15
  6. PKG_RELEASE:= 1
  7. PKG_MD5SUM:= 870db8e319f640c2bf446c30d0c24ef6
  8. PKG_DESCR:= IRC text client
  9. PKG_SECTION:= chat
  10. PKG_DEPENDS:= glib libncurses
  11. PKG_BUILDDEP:= glib ncurses
  12. PKG_URL:= http://www.irssi.org/
  13. PKG_SITES:= http://www.irssi.org/files/
  14. PKG_FLAVOURS:= WITH_SSL WITH_IPV6
  15. PKGFD_WITH_SSL:= enable SSL/TLS support
  16. PKGFS_WITH_SSL:= libopenssl
  17. PKGFB_WITH_SSL:= openssl
  18. PKGFD_WITH_IPV6:= enable IPv6 support
  19. include ${TOPDIR}/mk/package.mk
  20. $(eval $(call PKG_template,IRSSI,${PKG_NAME},${PKG_VERSION}-${PKG_RELEASE},${PKG_DEPENDS},${PKG_DESCR},${PKG_SECTION}))
  21. CONFIGURE_ARGS+= --with-perl=no \
  22. --with-gnu-ld \
  23. --with-textui \
  24. --with-terminfo \
  25. --without-bot \
  26. --without-proxy
  27. ifneq (${ADK_PACKAGE_IRSSI_WITH_IPV6},)
  28. CONFIGURE_ARGS+= --enable-ipv6
  29. else
  30. CONFIGURE_ARGS+= --disable-ipv6
  31. endif
  32. ifneq (${ADK_PACKAGE_IRSSI_WITH_SSL},)
  33. CONFIGURE_ARGS+= --enable-ssl
  34. else
  35. CONFIGURE_ARGS+= --disable-ssl
  36. endif
  37. post-install:
  38. ${INSTALL_DIR} ${IDIR_IRSSI}/usr/bin
  39. ${INSTALL_BIN} ${WRKINST}/usr/bin/irssi ${IDIR_IRSSI}/usr/bin/
  40. include ${TOPDIR}/mk/pkg-bottom.mk