2 # Copyright (C) 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_SOURCE
:=$(PKG_NAME
)-$(PKG_VERSION
).
tar.gz
15 PKG_SOURCE_URL
:=https
://www.lesbonscomptes.com
/upmpdcli
/downloads
16 PKG_HASH
:=f09d5162f237bcb971ef4bbd45de9e93a073d96555cd691374eb1a3f338b2d0b
19 PKG_LICENSE
:=LGPL-2.1
-or-later
20 PKG_LICENSE_FILES
:=COPYING
25 include $(INCLUDE_DIR
)/package.mk
27 define Package
/libupnpp
30 URL
:=https
://www.lesbonscomptes.com
/upmpdcli
32 TITLE
:=The libupnpp C
++ library wraps libupnp for easier use by upmpdcli and upplay
35 define Package
/libupnpp
/description
36 libupnpp defines useful objects over libupnp and can be used to create both devices
37 and control points. It is shared by upmpdcli and upplay.
40 define Build
/InstallDev
41 $(INSTALL_DIR
) $(1)/usr
/include
42 $(CP
) $(PKG_INSTALL_DIR
)/usr
/include/libupnpp
$(1)/usr
/include/
43 $(INSTALL_DIR
) $(1)/usr
/lib
44 $(CP
) $(PKG_INSTALL_DIR
)/usr
/lib
/libupnpp.
{la
,so
*} $(1)/usr
/lib
/
45 $(INSTALL_DIR
) $(1)/usr
/lib
/pkgconfig
46 $(CP
) $(PKG_INSTALL_DIR
)/usr
/lib
/pkgconfig
/libupnpp.
pc $(1)/usr
/lib
/pkgconfig
/
49 define Package
/libupnpp
/install
50 $(INSTALL_DIR
) $(1)/usr
/lib
51 $(CP
) $(PKG_INSTALL_DIR
)/usr
/lib
/libupnpp.so.
* $(1)/usr
/lib
/
54 $(eval
$(call BuildPackage
,libupnpp
))