summaryrefslogtreecommitdiff
path: root/package/weechat/Makefile
blob: 4ad71e7733857ae3854fd2c4ac9eeba0e27c0d0f (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
# This file is part of the OpenADK project. OpenADK is copyrighted
# material, please see the LICENCE file in the top-level directory.

include ${TOPDIR}/rules.mk

PKG_NAME:=		weechat
PKG_VERSION:=		0.3.2
PKG_RELEASE:=		2
PKG_MD5SUM:=		0c4f6e7196703c6eca12217f254612aa
PKG_DESCR:=		Lightweight IRC client
PKG_SECTION:=		chat
PKG_DEPENDS:=		libncurses libiconv
PKG_BUILDDEP:=		ncurses libiconv
PKG_URL:=		http://www.weechat.org/
PKG_SITES:=		http://www.weechat.org/files/src/

include ${TOPDIR}/mk/package.mk

$(eval $(call PKG_template,WEECHAT,${PKG_NAME},${PKG_VERSION}-${PKG_RELEASE},${PKG_DEPENDS},${PKG_DESCR},${PKG_SECTION}))

TARGET_LDFLAGS+=	-liconv
CONFIGURE_ARGS+=	--with-debug=0 \
			--disable-perl \
			--disable-python \
			--disable-lua \
			--disable-gnutls \
			--disable-ruby \
			--with-libiconv-prefix='${STAGING_TARGET_DIR}/usr'

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

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