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:=http://ftp.gnome.org/pub/GNOME/sources/gupnp-vala/0.10/
18 PKG_BUILD_DEPENDS:=vala/host libgssdp libgupnp libgupnp-av libgupnp-dlna
22 include $(INCLUDE_DIR)/package.mk
23 include $(INCLUDE_DIR)/nls.mk
25 define Package/libgupnp-vala
28 TITLE:=GUPnP Vala bindings
29 URL:=http://live.gnome.org/GUPnP
32 define Package/libgupnp-vala/description
33 Vala bindings for GUPnP
37 $(MAKE) -C $(PKG_BUILD_DIR) \
38 DESTDIR="$(PKG_INSTALL_DIR)" \
42 define Build/InstallDev
43 $(INSTALL_DIR) $(1)/usr/lib/pkgconfig
46 $(PKG_INSTALL_DIR)/usr/lib/pkgconfig/*.pc \
47 $(1)/usr/lib/pkgconfig/
49 $(INSTALL_DIR) $(1)/usr/share/vala/vapi
52 $(PKG_INSTALL_DIR)/usr/share/vala/vapi/*.{vapi,deps} \
53 $(1)/usr/share/vala/vapi
56 $(eval $(call BuildPackage,libgupnp-vala))