summaryrefslogtreecommitdiff
path: root/package/weechat/Makefile
blob: 5f92e50bd098e9a42462d68e2b9b89fb8702fe1d (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
# This file is part of the OpenADK project. OpenADK is copyrighted
# material, please see the LICENCE file in the top-level directory.

include ${ADK_TOPDIR}/rules.mk

PKG_NAME:=		weechat
PKG_VERSION:=		0.4.3
PKG_RELEASE:=		1
PKG_MD5SUM:=		2206cbc7ee66d0c219f25a5499973dd5
PKG_DESCR:=		lightweight irc client
PKG_SECTION:=		app/chat
PKG_DEPENDS:=		libncurses libgcrypt zlib libcurl
PKG_BUILDDEP:=		ncurses zlib libgcrypt curl
PKG_URL:=		http://www.weechat.org/
PKG_SITES:=		http://www.weechat.org/files/src/

DISTFILES:=		${PKG_NAME}-${PKG_VERSION}.tar.gz

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

weechat-install:
	${INSTALL_DIR} ${IDIR_WEECHAT}/usr/bin
	${INSTALL_BIN} ${WRKINST}/usr/bin/weechat-curses \
		${IDIR_WEECHAT}/usr/bin/weechat

include ${ADK_TOPDIR}/mk/pkg-bottom.mk