summaryrefslogtreecommitdiff
path: root/package/weechat/Makefile
diff options
context:
space:
mode:
authorWaldemar Brodkorb <wbx@uclibc-ng.org>2015-05-01 21:06:51 +0200
committerWaldemar Brodkorb <wbx@uclibc-ng.org>2015-05-01 21:06:51 +0200
commitf611b9c0e05eaaa5c1466f0996fcb402964ee58d (patch)
tree189dc54f0da5506eba4eff12e99716660f8277ff /package/weechat/Makefile
parent2e1c9812e8d20faf1308a788dc66ae20c66346f0 (diff)
parent8c9c4a3460061926147b67c0a14bf23fa9f44a10 (diff)
Merge branch 'master' of git+ssh://openadk.org/git/openadk
Diffstat (limited to 'package/weechat/Makefile')
-rw-r--r--package/weechat/Makefile24
1 files changed, 11 insertions, 13 deletions
diff --git a/package/weechat/Makefile b/package/weechat/Makefile
index da51651bd..5b63816e2 100644
--- a/package/weechat/Makefile
+++ b/package/weechat/Makefile
@@ -4,13 +4,13 @@
include ${ADK_TOPDIR}/rules.mk
PKG_NAME:= weechat
-PKG_VERSION:= 0.4.3
+PKG_VERSION:= 1.1.1
PKG_RELEASE:= 1
-PKG_HASH:= bfb5a34f78eaad0e22e1aa0783ff330907f253fcd50a1d3fd0aa19df9114dde9
+PKG_HASH:= a32f7e57d5e834195bacaffa874419b4a9d17cd42883c80d7ecb9fadbf601349
PKG_DESCR:= lightweight irc client
PKG_SECTION:= app/chat
-PKG_DEPENDS:= libncurses libgcrypt zlib libcurl
-PKG_BUILDDEP:= ncurses zlib libgcrypt curl
+PKG_DEPENDS:= libncurses zlib libcurl libgcrypt
+PKG_BUILDDEP:= cmake-host ncurses zlib curl libgcrypt
PKG_URL:= http://www.weechat.org/
PKG_SITES:= http://www.weechat.org/files/src/
@@ -20,15 +20,13 @@ include ${ADK_TOPDIR}/mk/package.mk
$(eval $(call PKG_template,WEECHAT,weechat,${PKG_VERSION}-${PKG_RELEASE},${PKG_DEPENDS},${PKG_DESCR},${PKG_SECTION}))
-AUTOTOOL_STYLE:= autoreconf
-TARGET_LDFLAGS+= -ltinfo
-CONFIGURE_ARGS+= --with-debug=0 \
- --disable-perl \
- --disable-python \
- --disable-lua \
- --disable-tcl \
- --disable-gnutls \
- --disable-ruby
+CONFIG_STYLE:= cmake
+CMAKE_FLAGS+= -DENABLE_GNUTLS=OFF \
+ -DENABLE_PERL=OFF \
+ -DENABLE_PYTHON=OFF \
+ -DENABLE_NLS=OFF \
+ -DGCRYPT_LDFLAGS="-L$(STAGING_TARGET_DIR)/usr/lib -ltinfo -lgcrypt" \
+ -DGCRYPT_CFLAGS="-I$(STAGING_TARGET_DIR)/usr/include" \
weechat-install:
${INSTALL_DIR} ${IDIR_WEECHAT}/usr/bin