Makefile 1.1 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546
  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_URL:= http://www.irssi.org
  12. PKG_SITES:= http://www.irssi.org/files/
  13. DISTFILES:= ${PKG_NAME}-${PKG_VERSION}.tar.bz2
  14. include ${TOPDIR}/mk/package.mk
  15. ifeq (${ADK_PACKAGE_IRSSI_SSL},y)
  16. PKG_DEPENDS+= libopenssl
  17. endif
  18. $(eval $(call PKG_template,IRSSI,${PKG_NAME},${PKG_VERSION}-${PKG_RELEASE},${PKG_DEPENDS},${PKG_DESCR},${PKG_SECTION}))
  19. CONFIGURE_STYLE= gnu
  20. CONFIGURE_ARGS+= --with-perl=no \
  21. --with-gnu-ld \
  22. --with-textui \
  23. --with-terminfo \
  24. --without-bot \
  25. --without-proxy \
  26. --enable-static
  27. BUILD_STYLE= auto
  28. ifeq (${ADK_PACKAGE_IRSSI_SSL},y)
  29. CONFIGURE_ARGS+= --enable-ssl
  30. else
  31. CONFIGURE_ARGS+= --disable-ssl
  32. endif
  33. do-install:
  34. ${INSTALL_DIR} ${IDIR_IRSSI}/usr/bin
  35. ${INSTALL_BIN} ${WRKBUILD}/src/fe-text/${PKG_NAME} ${IDIR_IRSSI}/usr/bin/
  36. include ${TOPDIR}/mk/pkg-bottom.mk