Makefile 1.2 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051
  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_STYLE= gnu
  24. CONFIGURE_ARGS+= --with-perl=no \
  25. --with-gnu-ld \
  26. --with-textui \
  27. --with-terminfo \
  28. --without-bot \
  29. --without-proxy \
  30. --enable-static
  31. BUILD_STYLE= auto
  32. ifeq (${ADK_PACKAGE_IRSSI_SSL},y)
  33. CONFIGURE_ARGS+= --enable-ssl
  34. else
  35. CONFIGURE_ARGS+= --disable-ssl
  36. endif
  37. do-install:
  38. ${INSTALL_DIR} ${IDIR_IRSSI}/usr/bin
  39. ${INSTALL_BIN} ${WRKBUILD}/src/fe-text/${PKG_NAME} \
  40. ${IDIR_IRSSI}/usr/bin/
  41. include ${TOPDIR}/mk/pkg-bottom.mk