2006-09-17 11:57:40 +00:00
|
|
|
#
|
2010-03-24 04:49:34 +00:00
|
|
|
# Copyright (C) 2006-2010 OpenWrt.org
|
2006-09-17 11:57:40 +00:00
|
|
|
#
|
|
|
|
# This is free software, licensed under the GNU General Public License v2.
|
|
|
|
# See /LICENSE for more information.
|
|
|
|
#
|
|
|
|
|
|
|
|
include $(TOPDIR)/rules.mk
|
|
|
|
|
|
|
|
PKG_NAME:=weechat
|
2011-05-20 17:40:50 +00:00
|
|
|
PKG_VERSION:=0.3.5
|
2008-01-20 15:31:11 +00:00
|
|
|
PKG_RELEASE:=1
|
2006-09-17 11:57:40 +00:00
|
|
|
|
|
|
|
PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.bz2
|
2010-03-24 04:49:34 +00:00
|
|
|
PKG_SOURCE_URL:=http://www.weechat.org/files/src
|
2011-05-20 17:40:50 +00:00
|
|
|
PKG_MD5SUM:=0d2a089bfbfa550e0c65618a171fb3c4
|
2006-09-17 11:57:40 +00:00
|
|
|
|
2011-07-11 00:10:54 +00:00
|
|
|
PKG_FIXUP:=autoreconf
|
2007-12-27 02:12:04 +00:00
|
|
|
|
2006-09-17 11:57:40 +00:00
|
|
|
include $(INCLUDE_DIR)/package.mk
|
2011-02-02 18:54:24 +00:00
|
|
|
include $(INCLUDE_DIR)/nls.mk
|
2011-05-20 17:40:50 +00:00
|
|
|
include $(INCLUDE_DIR)/cmake.mk
|
2006-09-17 11:57:40 +00:00
|
|
|
|
2007-09-09 14:09:25 +00:00
|
|
|
define Package/weechat/Default
|
2007-09-25 18:29:45 +00:00
|
|
|
SUBMENU:=Instant Messaging
|
|
|
|
SECTION:=net
|
|
|
|
CATEGORY:=Network
|
|
|
|
TITLE:=Lightweight IRC client
|
2010-03-24 04:49:34 +00:00
|
|
|
URL:=http://www.weechat.org/
|
2007-09-09 14:09:25 +00:00
|
|
|
endef
|
|
|
|
|
|
|
|
define Package/weechat/Default/description
|
|
|
|
Weechat is fast, light & extensible IRC client.
|
|
|
|
endef
|
|
|
|
|
|
|
|
|
2006-09-17 11:57:40 +00:00
|
|
|
define Package/weechat
|
2007-09-09 14:09:25 +00:00
|
|
|
$(call Package/weechat/Default)
|
2011-05-20 17:40:50 +00:00
|
|
|
DEPENDS:=+libgnutls +libncursesw $(ICONV_DEPENDS)
|
2007-09-09 14:09:25 +00:00
|
|
|
endef
|
|
|
|
|
|
|
|
define Package/weechat/description
|
|
|
|
$(call Package/weechat/Default/description)
|
2006-09-17 11:57:40 +00:00
|
|
|
endef
|
|
|
|
|
2011-05-20 17:40:50 +00:00
|
|
|
CMAKE_OPTIONS+= \
|
|
|
|
-DENABLE_PYTHON=OFF \
|
|
|
|
-DENABLE_PERL=OFF \
|
|
|
|
-DENABLE_LUA=OFF
|
2007-06-30 15:31:25 +00:00
|
|
|
|
2010-02-17 17:22:16 +00:00
|
|
|
TARGET_LDFLAGS += \
|
2011-07-11 00:10:54 +00:00
|
|
|
-L$(ICONV_PREFIX)/lib -ldl \
|
2010-02-17 17:22:16 +00:00
|
|
|
-Wl,-rpath-link,$(STAGING_DIR)/usr/lib
|
2009-11-28 11:26:48 +00:00
|
|
|
|
2010-02-17 17:22:16 +00:00
|
|
|
define Package/weechat/install
|
2006-11-23 00:29:07 +00:00
|
|
|
$(INSTALL_DIR) $(1)/usr/bin
|
2007-12-09 18:59:01 +00:00
|
|
|
$(INSTALL_BIN) $(PKG_INSTALL_DIR)/usr/bin/weechat-curses $(1)/usr/bin/
|
2006-11-23 00:29:07 +00:00
|
|
|
$(INSTALL_DIR) $(1)/usr/lib/weechat/plugins
|
2011-05-20 17:40:50 +00:00
|
|
|
$(CP) \
|
|
|
|
$(PKG_INSTALL_DIR)/usr/lib/weechat/plugins/* \
|
|
|
|
$(1)/usr/lib/weechat/plugins/
|
2006-09-17 11:57:40 +00:00
|
|
|
endef
|
2007-06-20 12:05:20 +00:00
|
|
|
|
2006-09-17 11:57:40 +00:00
|
|
|
$(eval $(call BuildPackage,weechat))
|