openvpn: update to 2.5.6
[feed/packages.git] / libs / spice-protocol / Makefile
1 #
2 # Copyright (C) 2019-2020 Yousong Zhou <yszhou4tech@gmail.com>
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:=spice-protocol
11 PKG_VERSION:=0.14.3
12 PKG_RELEASE:=1
13 PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.xz
14 PKG_SOURCE_URL:=https://www.spice-space.org/download/releases
15 PKG_HASH:=f986e5bc2a1598532c4897f889afb0df9257ac21c160c083703ae7c8de99487a
16 PKG_LICENSE:=BSD-3-Clause
17 PKG_LICENSE_FILES:=COPYING
18 PKG_MAINTAINER:=Yousong Zhou <yszhou4tech@gmail.com>
19
20 PKG_INSTALL:=1
21
22 include $(INCLUDE_DIR)/package.mk
23 include $(INCLUDE_DIR)/meson.mk
24
25 define Package/spice-protocol
26 SECTION:=libs
27 CATEGORY:=Libraries
28 TITLE:=SPICE - headers defining protocols
29 URL:=https://www.spice-space.org/index.html
30 BUILDONLY:=1
31 endef
32
33 define Build/InstallDev
34 $(INSTALL_DIR) $(1)/usr/include
35 $(CP) $(PKG_INSTALL_DIR)/usr/include/* $(1)/usr/include
36 $(INSTALL_DIR) $(1)/usr/lib/pkgconfig
37 $(CP) $(PKG_INSTALL_DIR)/usr/share/pkgconfig/* $(1)/usr/lib/pkgconfig
38 endef
39
40 $(eval $(call BuildPackage,spice-protocol))