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
12 PKG_RELEASE
:=$(AUTORELEASE
)
14 PKG_SOURCE
:=$(PKG_NAME
)-$(PKG_VERSION
).
tar.gz
15 PKG_SOURCE_URL
:=https
://codeload.github.com
/mcabber
/loudmouth
/tar.gz
/$(PKG_VERSION
)?
16 PKG_HASH
:=d1f66d479bb9a2794c52e997a9db9271f7fd004e264fe1ff4302607deb083375
18 PKG_MAINTAINER
:=W. Michael Petullo
<mike@flyn.org
>
19 PKG_LICENSE
:=LGPL-2.1
-or-later
20 PKG_LICENSE_FILES
:=COPYING
26 include $(INCLUDE_DIR
)/package.mk
27 include $(INCLUDE_DIR
)/nls.mk
29 define Package
/loudmouth
32 DEPENDS
:=+glib2
+libopenssl
+PACKAGE_krb5-libs
:krb5-libs
34 URL
:=https
://github.com
/mcabber
/loudmouth
37 define Package
/loudmouth
/description
38 Lightweight and easy-to-use C library for programming with the Jabber protocol
43 --without-compile-warnings \
48 ac_cv_lib_crypto_BIO_f_base64
=yes \
49 ac_cv_lib_ssl_SSL_new
=yes
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
))