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
/InstallDev
47 $(INSTALL_DIR
) $(1)/usr
/include/
49 $(PKG_INSTALL_DIR
)/usr
/include/loudmouth-1.0
/ \
51 $(INSTALL_DIR
) $(1)/usr
/lib
/
53 $(PKG_INSTALL_DIR
)/usr
/lib
/*.so
* \
55 $(INSTALL_DIR
) $(1)/usr
/lib
/pkgconfig
/
57 $(PKG_INSTALL_DIR
)/usr
/lib
/pkgconfig
/*.
pc \
58 $(1)/usr
/lib
/pkgconfig
/
61 define Package
/loudmouth
/install
62 $(INSTALL_DIR
) $(1)/usr
/lib
64 $(PKG_INSTALL_DIR
)/usr
/lib
/*.so
* \
68 $(eval
$(call BuildPackage
,loudmouth
))