2 # Copyright (C) 2007-2016 OpenWrt.org
4 # This is free software, licensed under the GNU General Public License v2.
5 # See /LICENSE for more information.
8 include $(TOPDIR
)/rules.mk
14 PKG_MAINTAINER
:=W. Michael Petullo
<mike@flyn.org
>
17 PKG_LICENSE_FILES
:=COPYING
19 PKG_SOURCE
:=$(PKG_NAME
)-$(PKG_VERSION
).
tar.xz
21 PKG_SOURCE_SUBDIR
:=$(PKG_NAME
)-$(PKG_VERSION
)
22 PKG_SOURCE_URL
:=https
://github.com
/mcabber
/loudmouth.git
23 PKG_SOURCE_VERSION
:=$(PKG_VERSION
)
24 PKG_MD5SUM
:=7616cf124a8d72d007e7475b5aeb20ad
29 include $(INCLUDE_DIR
)/package.mk
31 define Package
/loudmouth
34 DEPENDS
:=+glib2
+libopenssl
36 URL
:=https
://github.com
/mcabber
/loudmouth
39 define Package
/loudmouth
/description
40 Lightweight and easy-to-use C library for programming with the Jabber protocol
46 define Build
/Configure
47 ( cd
$(PKG_BUILD_DIR
); .
/autogen.sh
)
48 $(call Build
/Configure
/Default
)
51 define Build
/InstallDev
52 $(INSTALL_DIR
) $(1)/usr
/include/
54 $(PKG_INSTALL_DIR
)/usr
/include/loudmouth-1.0
/ \
56 $(INSTALL_DIR
) $(1)/usr
/lib
/
58 $(PKG_INSTALL_DIR
)/usr
/lib
/*.so
* \
60 $(INSTALL_DIR
) $(1)/usr
/lib
/pkgconfig
/
62 $(PKG_INSTALL_DIR
)/usr
/lib
/pkgconfig
/*.
pc \
63 $(1)/usr
/lib
/pkgconfig
/
66 define Package
/loudmouth
/install
67 $(INSTALL_DIR
) $(1)/usr
/lib
69 $(PKG_INSTALL_DIR
)/usr
/lib
/*.so
* \
73 $(eval
$(call BuildPackage
,loudmouth
))