1
0

Makefile 1.1 KB

1234567891011121314151617181920212223242526272829303132333435363738
  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:= 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. include ${TOPDIR}/mk/package.mk
  16. $(eval $(call PKG_template,WEECHAT,weechat,${PKG_VERSION}-${PKG_RELEASE},${PKG_DEPENDS},${PKG_DESCR},${PKG_SECTION}))
  17. AUTOTOOL_STYLE:= autoreconf
  18. TARGET_LDFLAGS+= -ltinfo
  19. CONFIGURE_ARGS+= --with-debug=0 \
  20. --disable-perl \
  21. --disable-python \
  22. --disable-lua \
  23. --disable-tcl \
  24. --disable-gnutls \
  25. --disable-ruby \
  26. --with-libiconv-prefix='${STAGING_TARGET_DIR}/usr'
  27. weechat-install:
  28. ${INSTALL_DIR} ${IDIR_WEECHAT}/usr/bin
  29. ${INSTALL_BIN} ${WRKINST}/usr/bin/weechat-curses \
  30. ${IDIR_WEECHAT}/usr/bin/weechat
  31. include ${TOPDIR}/mk/pkg-bottom.mk