source: packages/net/weechat/Makefile @ 28873

Last change on this file since 28873 was 28873, checked in by loswillios, 5 years ago

[packages] weechat: update to 0.3.6

  • Property copyright set to Copyright (C) 2006 OpenWrt.org
  • Property licence set to GPLv2
  • Property svn:eol-style set to native
File size: 1.4 KB
Line 
1#
2# Copyright (C) 2006-2010 OpenWrt.org
3#
4# This is free software, licensed under the GNU General Public License v2.
5# See /LICENSE for more information.
6#
7
8include $(TOPDIR)/rules.mk
9
10PKG_NAME:=weechat
11PKG_VERSION:=0.3.6
12PKG_RELEASE:=1
13
14PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.bz2
15PKG_SOURCE_URL:=http://www.weechat.org/files/src
16PKG_MD5SUM:=db2392b8e31738f79f0898f77eda8daa
17
18PKG_FIXUP:=autoreconf
19
20include $(INCLUDE_DIR)/package.mk
21include $(INCLUDE_DIR)/nls.mk
22include $(INCLUDE_DIR)/cmake.mk
23
24define Package/weechat/Default
25  SUBMENU:=Instant Messaging
26  SECTION:=net
27  CATEGORY:=Network
28  TITLE:=Lightweight IRC client
29  URL:=http://www.weechat.org/
30endef
31
32define Package/weechat/Default/description
33 Weechat is fast, light & extensible IRC client.
34endef
35
36
37define Package/weechat
38$(call Package/weechat/Default)
39 DEPENDS:=+libgnutls +libncursesw $(ICONV_DEPENDS)
40endef
41
42define Package/weechat/description
43$(call Package/weechat/Default/description)
44endef
45
46CMAKE_OPTIONS+= \
47        -DENABLE_PYTHON=OFF \
48        -DENABLE_PERL=OFF \
49        -DENABLE_LUA=OFF
50
51TARGET_LDFLAGS += \
52        -L$(ICONV_PREFIX)/lib -ldl \
53        -Wl,-rpath-link,$(STAGING_DIR)/usr/lib
54
55define Package/weechat/install
56        $(INSTALL_DIR) $(1)/usr/bin
57        $(INSTALL_BIN) $(PKG_INSTALL_DIR)/usr/bin/weechat-curses $(1)/usr/bin/
58        $(INSTALL_DIR) $(1)/usr/lib/weechat/plugins
59        $(CP) \
60                $(PKG_INSTALL_DIR)/usr/lib/weechat/plugins/* \
61                $(1)/usr/lib/weechat/plugins/
62endef
63
64$(eval $(call BuildPackage,weechat))
Note: See TracBrowser for help on using the repository browser.