From fee63d7b33f47f65b589613414ffdc8707a0a8d7 Mon Sep 17 00:00:00 2001 From: tripolar Date: Wed, 30 Oct 2013 01:19:13 +0000 Subject: [PATCH] [packages] add mcabber mcabber is a small Jabber console client. mcabber includes features such as SASL/SSL/TLS support, MUC (Multi-User Chat) support, history logging, command completion, OpenPGP encryption, OTR (Off-the-Record Messaging) support, dynamic modules and external action triggers. Signed-off-by: Peter Wagner git-svn-id: svn://svn.openwrt.org/openwrt/packages@38585 3c298f89-4303-0410-b956-a3cf2f4a3e73 --- net/mcabber/Makefile | 56 ++++++++++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 56 insertions(+) create mode 100644 net/mcabber/Makefile diff --git a/net/mcabber/Makefile b/net/mcabber/Makefile new file mode 100644 index 000000000..5c33a2905 --- /dev/null +++ b/net/mcabber/Makefile @@ -0,0 +1,56 @@ +# +# Copyright (C) 2011-2013 Entware +# +# This is free software, licensed under the GNU General Public License v2. +# See /LICENSE for more information. +# + +include $(TOPDIR)/rules.mk + +PKG_NAME:=mcabber +PKG_VERSION:=0.10.2 +PKG_RELEASE:=1 + +PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.bz2 +PKG_SOURCE_URL:=http://mcabber.com/files/ +PKG_MD5SUM:=6bb2302f5168ad4c28b647390e37f9b3 + +PKG_BUILD_DIR:=$(BUILD_DIR)/$(PKG_NAME)-$(PKG_VERSION) + +include $(INCLUDE_DIR)/package.mk +#include $(INCLUDE_DIR)/nls.mk + +define Package/mcabber + SUBMENU:=Instant Messaging + SECTION:=net + CATEGORY:=Network + DEPENDS:=+libncursesw +libloudmouth1 +libcharset +libidn +libgpgme +libotr + TITLE:=Jabber console client + URL:=http://mcabber.com +endef + +define Package/mcabber/description + mcabber is a small Jabber console client. + mcabber includes features such as SASL/SSL/TLS support, MUC (Multi-User Chat) support, + history logging, command completion, OpenPGP encryption, OTR (Off-the-Record + Messaging) support, dynamic modules and external action triggers. +endef + +CONFIGURE_ARGS += \ + --with-libidn=$(STAGING_DIR)/usr/lib \ + --with-gpgme-prefix=$(STAGING_DIR)/usr \ + --enable-otr + +define Package/mcabber/install + $(INSTALL_DIR) $(1)/bin + $(INSTALL_BIN) $(PKG_BUILD_DIR)/mcabber/mcabber $(1)/bin + $(INSTALL_DIR) $(1)/usr/lib/mcabber + $(INSTALL_BIN) $(PKG_BUILD_DIR)/modules/beep/.libs/libbeep.so $(1)/usr/lib/mcabber + $(INSTALL_BIN) $(PKG_BUILD_DIR)/modules/xttitle/.libs/libxttitle.so $(1)/usr/lib/mcabber + $(INSTALL_DIR) $(1)/usr/share/mcabber/ $(1)/usr/share/mcabber/help/en + $(INSTALL_DATA) $(PKG_BUILD_DIR)/mcabberrc.example $(1)/usr/share/mcabber/ + $(INSTALL_BIN) $(PKG_BUILD_DIR)/contrib/events/eventcmd $(1)/usr/share/mcabber/eventcmd.example + $(INSTALL_BIN) $(PKG_BUILD_DIR)/doc/help/en/*.txt $(1)/usr/share/mcabber/help/en/ +endef + +$(eval $(call BuildPackage,mcabber)) -- 2.11.0