You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

38 lines
1.0 KiB

  1. #
  2. # Copyright (C) 2019 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. include $(TOPDIR)/rules.mk
  8. PKG_NAME:=spice-protocol
  9. PKG_VERSION:=0.14.1
  10. PKG_RELEASE:=1
  11. PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.bz2
  12. PKG_SOURCE_URL:=https://www.spice-space.org/download/releases
  13. PKG_HASH:=79e6da61834b080a143234c1cd4c099a8ead1a64b5039489610b72ab282c132a
  14. PKG_LICENSE:=BSD-3-Clause
  15. PKG_LICENSE_FILES:=COPYING
  16. PKG_INSTALL:=1
  17. PKG_MAINTAINER:=Yousong Zhou <yszhou4tech@gmail.com>
  18. include $(INCLUDE_DIR)/package.mk
  19. define Package/spice-protocol
  20. SECTION:=libs
  21. CATEGORY:=Libraries
  22. TITLE:=SPICE - headers defining protocols
  23. URL:=https://www.spice-space.org/index.html
  24. endef
  25. define Build/InstallDev
  26. $(INSTALL_DIR) $(1)/usr/include
  27. $(CP) $(PKG_INSTALL_DIR)/usr/include/* $(1)/usr/include
  28. $(INSTALL_DIR) $(1)/usr/lib/pkgconfig
  29. $(CP) $(PKG_INSTALL_DIR)/usr/share/pkgconfig/* $(1)/usr/lib/pkgconfig
  30. endef
  31. $(eval $(call BuildPackage,spice-protocol))