2 # Copyright (C) 2006-2012 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.xz
15 PKG_SOURCE_URL:=@GNOME/gupnp-av/0.12/
16 PKG_MD5SUM:=2d15a94d743720febb400b2cacde1cdc
18 include $(INCLUDE_DIR)/package.mk
19 include $(INCLUDE_DIR)/nls.mk
22 -Wl,-rpath-link=$(STAGING_DIR)/usr/lib
24 define Package/libgupnp-av
27 TITLE:=Library for dealing with UPnP/AV profiles
28 URL:=http://www.gupnp.org/
32 define Package/libgupnp-av/description
33 GUPnP A/V is a small utility library that aims to ease the handling and
34 implementation of UPnP A/V profiles.
38 $(MAKE) -C $(PKG_BUILD_DIR) \
39 DESTDIR="$(PKG_INSTALL_DIR)" \
43 define Build/InstallDev
44 $(INSTALL_DIR) $(1)/usr/{lib/pkgconfig,include/gupnp-av-1.0/libgupnp-av}
47 $(PKG_INSTALL_DIR)/usr/lib/libgupnp-av-1.0.{so*,la,a} \
51 $(PKG_INSTALL_DIR)/usr/lib/pkgconfig/*.pc \
52 $(1)/usr/lib/pkgconfig/
55 $(PKG_INSTALL_DIR)/usr/include/gupnp-av-1.0/libgupnp-av/*.h \
56 $(1)/usr/include/gupnp-av-1.0/libgupnp-av/
59 define Package/libgupnp-av/install
60 $(INSTALL_DIR) $(1)/usr/lib
62 $(PKG_INSTALL_DIR)/usr/lib/libgupnp-av-1.0.so* \
66 $(eval $(call BuildPackage,libgupnp-av))