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
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}))
22 CMAKE_FLAGS
+= -DENABLE_PERL
=OFF \
31 -DGCRYPT_LDFLAGS
="-L$(STAGING_TARGET_DIR)/usr/lib -ltinfo -lgcrypt" \
32 -DGCRYPT_CFLAGS
="-I$(STAGING_TARGET_DIR)/usr/include" \
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