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.

42 lines
1.1 KiB

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