spice-protocol: initial version 0.12.15
authorYousong Zhou <yszhou4tech@gmail.com>
Sat, 26 Oct 2019 11:23:51 +0000 (11:23 +0000)
committerYousong Zhou <yszhou4tech@gmail.com>
Mon, 28 Oct 2019 01:10:11 +0000 (09:10 +0800)
Signed-off-by: Yousong Zhou <yszhou4tech@gmail.com>
libs/spice-protocol/Makefile [new file with mode: 0644]

diff --git a/libs/spice-protocol/Makefile b/libs/spice-protocol/Makefile
new file mode 100644 (file)
index 0000000..9b3e6ea
--- /dev/null
@@ -0,0 +1,38 @@
+#
+# Copyright (C) 2019 Yousong Zhou <yszhou4tech@gmail.com>
+#
+# This is free software, licensed under the GNU General Public License v2.
+# See /LICENSE for more information.
+#
+
+include $(TOPDIR)/rules.mk
+
+PKG_NAME:=spice-protocol
+PKG_VERSION:=0.12.15
+PKG_RELEASE:=1
+PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.bz2
+PKG_SOURCE_URL:=https://www.spice-space.org/download/releases
+PKG_HASH:=8b4db23baa4b1337a50d049d9bf43f932331dd95f204836c0ce46c4962306419
+PKG_LICENSE:=BSD-3-Clause
+PKG_LICENSE_FILES:=COPYING
+PKG_INSTALL:=1
+PKG_MAINTAINER:=Yousong Zhou <yszhou4tech@gmail.com>
+
+include $(INCLUDE_DIR)/package.mk
+
+
+define Package/spice-protocol
+  SECTION:=libs
+  CATEGORY:=Libraries
+  TITLE:=SPICE - headers defining protocols
+  URL:=https://www.spice-space.org/index.html
+endef
+
+define Build/InstallDev
+       $(INSTALL_DIR) $(1)/usr/include
+       $(CP) $(PKG_INSTALL_DIR)/usr/include/* $(1)/usr/include
+       $(INSTALL_DIR) $(1)/usr/lib/pkgconfig
+       $(CP) $(PKG_INSTALL_DIR)/usr/share/pkgconfig/* $(1)/usr/lib/pkgconfig
+endef
+
+$(eval $(call BuildPackage,spice-protocol))