[packages] mcabber, loudmouth: add myself as maintainer
[openwrt/svn-archive/archive.git] / net / mcabber / Makefile
1 #
2 # Copyright (C) 2011-2013 Entware
3 #
4 # This is free software, licensed under the GNU General Public License v2.
5 # See /LICENSE for more information.
6 #
7
8 include $(TOPDIR)/rules.mk
9
10 PKG_NAME:=mcabber
11 PKG_VERSION:=0.10.2
12 PKG_RELEASE:=1
13
14 PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.bz2
15 PKG_SOURCE_URL:=http://mcabber.com/files/
16 PKG_MD5SUM:=6bb2302f5168ad4c28b647390e37f9b3
17
18 PKG_BUILD_DIR:=$(BUILD_DIR)/$(PKG_NAME)-$(PKG_VERSION)
19
20 include $(INCLUDE_DIR)/package.mk
21 #include $(INCLUDE_DIR)/nls.mk
22
23 define Package/mcabber
24 SUBMENU:=Instant Messaging
25 SECTION:=net
26 CATEGORY:=Network
27 DEPENDS:=+libncursesw +libloudmouth1 +libcharset +libidn +libgpgme +libotr
28 TITLE:=Jabber console client
29 URL:=http://mcabber.com
30 MAINTAINER:=Peter Wagner <tripolar@gmx.at>
31 endef
32
33 define Package/mcabber/description
34 mcabber is a small Jabber console client.
35 mcabber includes features such as SASL/SSL/TLS support, MUC (Multi-User Chat) support,
36 history logging, command completion, OpenPGP encryption, OTR (Off-the-Record
37 Messaging) support, dynamic modules and external action triggers.
38 endef
39
40 CONFIGURE_ARGS += \
41 --with-libidn=$(STAGING_DIR)/usr/lib \
42 --with-gpgme-prefix=$(STAGING_DIR)/usr \
43 --enable-otr
44
45 define Package/mcabber/install
46 $(INSTALL_DIR) $(1)/bin
47 $(INSTALL_BIN) $(PKG_BUILD_DIR)/mcabber/mcabber $(1)/bin
48 $(INSTALL_DIR) $(1)/usr/lib/mcabber
49 $(INSTALL_BIN) $(PKG_BUILD_DIR)/modules/beep/.libs/libbeep.so $(1)/usr/lib/mcabber
50 $(INSTALL_BIN) $(PKG_BUILD_DIR)/modules/xttitle/.libs/libxttitle.so $(1)/usr/lib/mcabber
51 $(INSTALL_DIR) $(1)/usr/share/mcabber/ $(1)/usr/share/mcabber/help/en
52 $(INSTALL_DATA) $(PKG_BUILD_DIR)/mcabberrc.example $(1)/usr/share/mcabber/
53 $(INSTALL_BIN) $(PKG_BUILD_DIR)/contrib/events/eventcmd $(1)/usr/share/mcabber/eventcmd.example
54 $(INSTALL_BIN) $(PKG_BUILD_DIR)/doc/help/en/*.txt $(1)/usr/share/mcabber/help/en/
55 endef
56
57 $(eval $(call BuildPackage,mcabber))