treewide: assign PKG_CPE_ID
[feed/packages.git] / libs / pixman / Makefile
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
8 include $(TOPDIR)/rules.mk
9
10 PKG_NAME:=pixman
11 PKG_VERSION:=0.40.0
12 PKG_RELEASE:=1
13
14 PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.gz
15 PKG_SOURCE_URL:=https://www.cairographics.org/releases
16 PKG_HASH:=6d200dec3740d9ec4ec8d1180e25779c00bc749f94278c8b9021f5534db223fc
17
18 PKG_MAINTAINER:=Yousong Zhou <yszhou4tech@gmail.com>
19 PKG_LICENSE:=MIT
20 PKG_LICENSE_FILES:=COPYING
21 PKG_CPE_ID:=cpe:/a:pixman:pixman
22
23 include $(INCLUDE_DIR)/package.mk
24 include $(INCLUDE_DIR)/meson.mk
25
26 define Package/pixman
27 SECTION:=libs
28 CATEGORY:=Libraries
29 TITLE:=a low-level software library for pixel manipulation
30 URL:=http://www.pixman.org/
31 endef
32
33 define Package/pixman/description
34 Pixman is a low-level software library for pixel manipulation, providing
35 features such as image compositing and trapezoid rasterization. Important
36 users of pixman are the cairo graphics library and the X server.
37 endef
38
39 define Package/pixman/install
40 $(INSTALL_DIR) $(1)/usr/lib
41 $(CP) $(PKG_INSTALL_DIR)/usr/lib/libpixman*.so* $(1)/usr/lib
42 endef
43
44 define Build/InstallDev
45 $(INSTALL_DIR) $(1)/usr/lib
46 $(INSTALL_DIR) $(1)/usr/include
47 $(CP) $(PKG_INSTALL_DIR)/usr/include/* $(1)/usr/include
48 $(CP) $(PKG_INSTALL_DIR)/usr/lib/* $(1)/usr/lib
49 endef
50
51 $(eval $(call BuildPackage,pixman))