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
:=http
://www.lesbonscomptes.com
/upmpdcli
/downloads
16 PKG_MD5SUM
:=1b10905a365fc6277e1d8ced77278666
17 PKG_MAINTAINER
:=Petko Bordjukov
<bordjukov@gmail.com
>
19 PKG_LICENSE_FILES
:=COPYING
23 include $(INCLUDE_DIR
)/package.mk
25 define Package
/libupnpp
28 URL
:=http
://www.lesbonscomptes.com
/upmpdcli
29 DEPENDS
+= +libstdcpp
+libexpat
+librt
+libcurl
+libupnp
30 TITLE
:=The libupnpp C
++ library wraps libupnp for easier use by upmpdcli and upplay
33 define Package
/libupnpp
/description
34 libupnpp defines useful objects over libupnp and can be used to create both devices
35 and control points. It is shared by upmpdcli and upplay.
38 define Build
/InstallDev
39 $(INSTALL_DIR
) $(1)/usr
/include
40 $(CP
) $(PKG_INSTALL_DIR
)/usr
/include/libupnpp
$(1)/usr
/include/
41 $(INSTALL_DIR
) $(1)/usr
/lib
42 $(CP
) $(PKG_INSTALL_DIR
)/usr
/lib
/libupnpp.so
* $(1)/usr
/lib
/
43 $(CP
) $(PKG_INSTALL_DIR
)/usr
/lib
/libupnpp.la
$(1)/usr
/lib
/
46 define Package
/libupnpp
/install
47 $(INSTALL_DIR
) $(1)/usr
/lib
48 $(CP
) $(PKG_INSTALL_DIR
)/usr
/lib
/libupnpp.so.
* $(1)/usr
/lib
/
51 $(eval
$(call BuildPackage
,libupnpp
))