Makefile 1.2 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647
  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.13
  6. PKG_RELEASE:= 1
  7. PKG_MD5SUM:= 0d6fc2203832b514eff014fffd574664
  8. PKG_DESCR:= IRC text client
  9. PKG_SECTION:= text
  10. PKG_DEPENDS:= glib libncurses
  11. PKG_BUILDDEP+= glib ncurses
  12. ifeq (${ADK_PACKAGE_IRSSI_SSL},y)
  13. PKG_DEPENDS+= libopenssl
  14. PKG_BUILDDEP+= openssl
  15. endif
  16. PKG_URL:= http://www.irssi.org
  17. PKG_SITES:= http://www.irssi.org/files/
  18. DISTFILES:= ${PKG_NAME}-${PKG_VERSION}.tar.bz2
  19. PKG_FLAVOURS:= SSL
  20. PKGFD_SSL:= SSL/TLS support
  21. include ${TOPDIR}/mk/package.mk
  22. $(eval $(call PKG_template,IRSSI,${PKG_NAME},${PKG_VERSION}-${PKG_RELEASE},${PKG_DEPENDS},${PKG_DESCR},${PKG_SECTION}))
  23. CONFIGURE_ARGS+= --with-perl=no \
  24. --with-gnu-ld \
  25. --with-textui \
  26. --with-terminfo \
  27. --without-bot \
  28. --without-proxy
  29. ifeq (${ADK_PACKAGE_IRSSI_SSL},y)
  30. CONFIGURE_ARGS+= --enable-ssl
  31. else
  32. CONFIGURE_ARGS+= --disable-ssl
  33. endif
  34. post-install:
  35. ${INSTALL_DIR} ${IDIR_IRSSI}/usr/bin
  36. ${INSTALL_BIN} ${WRKINST}/usr/bin/irssi ${IDIR_IRSSI}/usr/bin/
  37. include ${TOPDIR}/mk/pkg-bottom.mk