Makefile 1.4 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950
  1. #
  2. # Copyright (C) 2018 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:=pixman
  9. PKG_VERSION:=0.34.0
  10. PKG_RELEASE:=1
  11. PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.gz
  12. PKG_HASH:=21b6b249b51c6800dc9553b65106e1e37d0e25df942c90531d4c3997aa20a88e
  13. PKG_SOURCE_URL:=https://www.cairographics.org/releases
  14. PKG_LICENSE:=MIT
  15. PKG_LICENSE_FILES:=COPYING
  16. PKG_FIXUP:=autoreconf
  17. PKG_INSTALL:=1
  18. PKG_MAINTAINER:=Yousong Zhou <yszhou4tech@gmail.com>
  19. include $(INCLUDE_DIR)/package.mk
  20. define Package/pixman
  21. SECTION:=libs
  22. CATEGORY:=Libraries
  23. TITLE:=a low-level software library for pixel manipulation
  24. URL:=http://www.pixman.org/
  25. endef
  26. define Package/pixman/description
  27. Pixman is a low-level software library for pixel manipulation, providing
  28. features such as image compositing and trapezoid rasterization. Important
  29. users of pixman are the cairo graphics library and the X server.
  30. endef
  31. define Package/pixman/install
  32. $(INSTALL_DIR) $(1)/usr/lib
  33. $(CP) $(PKG_INSTALL_DIR)/usr/lib/libpixman*.so* $(1)/usr/lib
  34. endef
  35. define Build/InstallDev
  36. $(INSTALL_DIR) $(1)/usr/lib
  37. $(INSTALL_DIR) $(1)/usr/include
  38. $(CP) $(PKG_INSTALL_DIR)/usr/include/* $(1)/usr/include
  39. $(CP) $(PKG_INSTALL_DIR)/usr/lib/* $(1)/usr/lib
  40. endef
  41. $(eval $(call BuildPackage,pixman))