python3: update to 3.11.10
[openadk.git] / package / weechat / Makefile
blobec397bd7388d924844e3f34112bac8a5224300e4
1 # This file is part of the OpenADK project. OpenADK is copyrighted
2 # material, please see the LICENCE file in the top-level directory.
4 include ${ADK_TOPDIR}/rules.mk
6 PKG_NAME:= weechat
7 PKG_VERSION:= 4.2.1
8 PKG_RELEASE:= 1
9 PKG_HASH:= 253ddf086f6c845031a2dd294b1552851d6b04cc08a2f9da4aedfb3e2f91bdcd
10 PKG_DESCR:= lightweight irc client
11 PKG_SECTION:= app/chat
12 PKG_DEPENDS:= libncurses zlib libcurl libgcrypt libgnutls
13 PKG_BUILDDEP:= cmake-host ncurses zlib curl libgcrypt gnutls
14 PKG_URL:= http://www.weechat.org/
15 PKG_SITES:= https://weechat.org/files/src/
17 include ${ADK_TOPDIR}/mk/package.mk
19 $(eval $(call PKG_template,WEECHAT,weechat,${PKG_VERSION}-${PKG_RELEASE},${PKG_DEPENDS},${PKG_DESCR},${PKG_SECTION}))
21 CONFIG_STYLE:= cmake
22 CMAKE_FLAGS+= -DENABLE_PERL=OFF \
23 -DENABLE_PYTHON=OFF \
24 -DENABLE_LUA=OFF \
25 -DENABLE_RUBY=OFF \
26 -DENABLE_PHP=OFF \
27 -DENABLE_TCL=OFF \
28 -DENABLE_GUILE=OFF \
29 -DENABLE_SPELL=OFF \
30 -DENABLE_NLS=OFF \
31 -DGCRYPT_LDFLAGS="-L$(STAGING_TARGET_DIR)/usr/lib -ltinfo -lgcrypt" \
32 -DGCRYPT_CFLAGS="-I$(STAGING_TARGET_DIR)/usr/include" \
34 weechat-install:
35 ${INSTALL_DIR} ${IDIR_WEECHAT}/usr/bin
36 ${INSTALL_BIN} ${WRKINST}/usr/bin/weechat-curses \
37 ${IDIR_WEECHAT}/usr/bin/weechat
39 include ${ADK_TOPDIR}/mk/pkg-bottom.mk