Makefile 1.3 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253
  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:= 2
  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. DISTFILES:= ${PKG_NAME}-${PKG_VERSION}.tar.gz
  15. PKG_FLAVOURS_IRSSI:= WITH_SSL WITH_IPV6
  16. PKGFD_WITH_SSL:= enable SSL/TLS support
  17. PKGFS_WITH_SSL:= libopenssl
  18. PKGFB_WITH_SSL:= openssl
  19. PKGFD_WITH_IPV6:= enable IPv6 support
  20. include ${TOPDIR}/mk/package.mk
  21. $(eval $(call PKG_template,IRSSI,irssi,${PKG_VERSION}-${PKG_RELEASE},${PKG_DEPENDS},${PKG_DESCR},${PKG_SECTION}))
  22. TARGET_LDFLAGS+= -ltinfo
  23. CONFIGURE_ARGS+= --with-perl=no \
  24. --with-gnu-ld \
  25. --with-textui \
  26. --with-terminfo \
  27. --without-bot \
  28. --without-proxy
  29. ifneq (${ADK_PACKAGE_IRSSI_WITH_IPV6},)
  30. CONFIGURE_ARGS+= --enable-ipv6
  31. else
  32. CONFIGURE_ARGS+= --disable-ipv6
  33. endif
  34. ifneq (${ADK_PACKAGE_IRSSI_WITH_SSL},)
  35. CONFIGURE_ARGS+= --enable-ssl
  36. else
  37. CONFIGURE_ARGS+= --disable-ssl
  38. endif
  39. irssi-install:
  40. ${INSTALL_DIR} ${IDIR_IRSSI}/usr/bin
  41. ${INSTALL_BIN} ${WRKINST}/usr/bin/irssi ${IDIR_IRSSI}/usr/bin/
  42. include ${TOPDIR}/mk/pkg-bottom.mk