Makefile 1.2 KB

12345678910111213141516171819202122232425262728293031323334353637383940
  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:= weechat
  5. PKG_VERSION:= 0.4.2
  6. PKG_RELEASE:= 2
  7. PKG_MD5SUM:= fd584c258aace2aa898f40e1fcf06084
  8. PKG_DESCR:= lightweight irc client
  9. PKG_SECTION:= app/chat
  10. PKG_DEPENDS:= libncurses libgcrypt libz libcurl
  11. PKG_BUILDDEP:= ncurses libiconv-tiny autotool libgcrypt
  12. PKG_BUILDDEP+= zlib curl
  13. PKG_URL:= http://www.weechat.org/
  14. PKG_SITES:= http://www.weechat.org/files/src/
  15. DISTFILES:= ${PKG_NAME}-${PKG_VERSION}.tar.gz
  16. include ${TOPDIR}/mk/package.mk
  17. $(eval $(call PKG_template,WEECHAT,weechat,${PKG_VERSION}-${PKG_RELEASE},${PKG_DEPENDS},${PKG_DESCR},${PKG_SECTION}))
  18. AUTOTOOL_STYLE:= autoreconf
  19. TARGET_LDFLAGS+= -ltinfo
  20. CONFIGURE_ARGS+= --with-debug=0 \
  21. --disable-perl \
  22. --disable-python \
  23. --disable-lua \
  24. --disable-tcl \
  25. --disable-gnutls \
  26. --disable-ruby \
  27. --with-libiconv-prefix='${STAGING_TARGET_DIR}/usr'
  28. weechat-install:
  29. ${INSTALL_DIR} ${IDIR_WEECHAT}/usr/bin
  30. ${INSTALL_BIN} ${WRKINST}/usr/bin/weechat-curses \
  31. ${IDIR_WEECHAT}/usr/bin/weechat
  32. include ${TOPDIR}/mk/pkg-bottom.mk