packages/luaexpat: fix whitespaces
[packages.git] / libs / gupnp-vala / Makefile
1 #
2 # Copyright (C) 2006-2012 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:=gupnp-vala
11 PKG_VERSION:=0.10.3
12 PKG_RELEASE:=1
13
14 PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.xz
15 PKG_SOURCE_URL:=http://ftp.gnome.org/pub/GNOME/sources/gupnp-vala/0.10/
16 PKG_MD5SUM:=
17
18 PKG_BUILD_DEPENDS:=vala/host libgssdp libgupnp libgupnp-av libgupnp-dlna
19
20 PKG_FIXUP:=autoreconf
21
22 include $(INCLUDE_DIR)/package.mk
23 include $(INCLUDE_DIR)/nls.mk
24
25 define Package/libgupnp-vala
26   SECTION:=lang
27   CATEGORY:=Languages
28   TITLE:=GUPnP Vala bindings
29   URL:=http://live.gnome.org/GUPnP
30 endef
31
32 define Package/libgupnp-vala/description
33 Vala bindings for GUPnP
34 endef
35
36 define Build/Compile
37         $(MAKE) -C $(PKG_BUILD_DIR) \
38                 DESTDIR="$(PKG_INSTALL_DIR)" \
39                 all install
40 endef
41
42 define Build/InstallDev
43         $(INSTALL_DIR) $(1)/usr/lib/pkgconfig
44
45         $(INSTALL_DATA) \
46                 $(PKG_INSTALL_DIR)/usr/lib/pkgconfig/*.pc \
47                 $(1)/usr/lib/pkgconfig/
48
49         $(INSTALL_DIR) $(1)/usr/share/vala/vapi
50
51         $(INSTALL_DATA) \
52                 $(PKG_INSTALL_DIR)/usr/share/vala/vapi/*.{vapi,deps} \
53                 $(1)/usr/share/vala/vapi
54 endef
55
56 $(eval $(call BuildPackage,libgupnp-vala))