cloudflared: Fix incorrect uci config syntax
[feed/packages.git] / libs / libupnpp / Makefile
1 #
2 # Copyright (C) 2016 OpenWrt.org
3 #
4 # This is free software, licensed under the GNU General Public License v2.
5 # See /LICENSE for more information.
6 #
7
8 include $(TOPDIR)/rules.mk
9
10 PKG_NAME:=libupnpp
11 PKG_VERSION:=0.24.1
12 PKG_RELEASE:=1
13
14 PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.gz
15 PKG_SOURCE_URL:=https://www.lesbonscomptes.com/upmpdcli/downloads
16 PKG_HASH:=f09d5162f237bcb971ef4bbd45de9e93a073d96555cd691374eb1a3f338b2d0b
17
18 PKG_MAINTAINER:=
19 PKG_LICENSE:=LGPL-2.1-or-later
20 PKG_LICENSE_FILES:=COPYING
21
22 PKG_INSTALL:=1
23 PKG_BUILD_PARALLEL:=1
24
25 include $(INCLUDE_DIR)/package.mk
26
27 define Package/libupnpp
28 SECTION:=libs
29 CATEGORY:=Libraries
30 URL:=https://www.lesbonscomptes.com/upmpdcli
31 DEPENDS+=+libnpupnp
32 TITLE:=The libupnpp C++ library wraps libupnp for easier use by upmpdcli and upplay
33 endef
34
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.
38 endef
39
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/
47 endef
48
49 define Package/libupnpp/install
50 $(INSTALL_DIR) $(1)/usr/lib
51 $(CP) $(PKG_INSTALL_DIR)/usr/lib/libupnpp.so.* $(1)/usr/lib/
52 endef
53
54 $(eval $(call BuildPackage,libupnpp))