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
47 define Build
/InstallDev
48 $(INSTALL_DIR
) $(1)/usr
/include/
50 $(PKG_INSTALL_DIR
)/usr
/include/loudmouth-1.0
/ \
52 $(INSTALL_DIR
) $(1)/usr
/lib
/
54 $(PKG_INSTALL_DIR
)/usr
/lib
/*.so
* \
56 $(INSTALL_DIR
) $(1)/usr
/lib
/pkgconfig
/
58 $(PKG_INSTALL_DIR
)/usr
/lib
/pkgconfig
/*.
pc \
59 $(1)/usr
/lib
/pkgconfig
/
62 define Package
/loudmouth
/install
63 $(INSTALL_DIR
) $(1)/usr
/lib
65 $(PKG_INSTALL_DIR
)/usr
/lib
/*.so
* \
69 $(eval
$(call BuildPackage
,loudmouth
))