Makefile 1.2 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.13
  6. PKG_RELEASE:= 1
  7. PKG_BUILDDEP+= glib ncurses
  8. ifeq (${ADK_PACKAGE_IRSSI_SSL},y)
  9. PKG_BUILDDEP+= openssl
  10. endif
  11. PKG_MD5SUM:= 0d6fc2203832b514eff014fffd574664
  12. PKG_DESCR:= IRC text client
  13. PKG_SECTION:= text
  14. PKG_DEPENDS:= glib libncurses
  15. PKG_URL:= http://www.irssi.org
  16. PKG_SITES:= http://www.irssi.org/files/
  17. DISTFILES:= ${PKG_NAME}-${PKG_VERSION}.tar.bz2
  18. include ${TOPDIR}/mk/package.mk
  19. ifeq (${ADK_PACKAGE_IRSSI_SSL},y)
  20. PKG_DEPENDS+= libopenssl
  21. endif
  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} ${IDIR_IRSSI}/usr/bin/
  40. include ${TOPDIR}/mk/pkg-bottom.mk