2 # Copyright (C) 2011-2013 Entware
4 # This is free software, licensed under the GNU General Public License v2.
5 # See /LICENSE for more information.
8 include $(TOPDIR)/rules.mk
10 PKG_NAME:=libloudmouth1
11 PKG_VERSION:=1.5.0-20121201
14 PKG_SOURCE:=loudmouth-$(PKG_VERSION).tar.bz2
15 PKG_SOURCE_URL:=http://mcabber.com/files/
16 PKG_MD5SUM:=c03025069d376049eee8af4fbaf4d9cf
17 PKG_BUILD_DIR:=$(BUILD_DIR)/loudmouth-$(PKG_VERSION)
21 PKG_BUILD_DEPENDS:=libopenssl
23 include $(INCLUDE_DIR)/package.mk
24 include $(INCLUDE_DIR)/nls.mk
26 define Package/libloudmouth1
29 DEPENDS:=+libopenssl +glib2
30 TITLE:=Lightweight C Jabber library
31 URL:=http://mcabber.com
32 MAINTAINER:=Peter Wagner <tripolar@gmx.at>
35 define Package/libloudmouth1/description
36 Loudmouth is a lightweight and easy-to-use C library for programming with the
37 Jabber protocol. It's designed to be easy to get started with and yet
38 extensible to let you do anything the Jabber protocol allows.
42 ac_cv_path_KRB5CONFIG=no \
43 LIBS="-liconv -lgobject-2.0"
46 --with-compile-warnings=no \
49 define Build/InstallDev
50 $(INSTALL_DIR) $(1)/usr/include/loudmouth-1.0/loudmouth
51 $(CP) $(PKG_INSTALL_DIR)/usr/include/loudmouth-1.0/loudmouth/*.h $(1)/usr/include/loudmouth-1.0/loudmouth
52 $(INSTALL_DIR) $(1)/usr/lib
53 $(CP) $(PKG_INSTALL_DIR)/usr/lib/libloudmouth-1.{a,la,so*} $(1)/usr/lib/
54 $(INSTALL_DIR) $(1)/usr/lib/pkgconfig
55 $(CP) $(PKG_INSTALL_DIR)/usr/lib/pkgconfig/loudmouth-1.0.pc $(1)/usr/lib/pkgconfig/
58 define Package/libloudmouth1/install
59 $(INSTALL_DIR) $(1)/usr/lib
60 $(CP) $(PKG_BUILD_DIR)/loudmouth/.libs/libloudmouth-1.so* $(1)/usr/lib
63 $(eval $(call BuildPackage,libloudmouth1))