2 # Copyright (C) 2018 Yousong Zhou <yszhou4tech@gmail.com>
4 # This is free software, licensed under the GNU General Public License v2.
5 # See /LICENSE for more information.
8 include $(TOPDIR
)/rules.mk
14 PKG_SOURCE
:=$(PKG_NAME
)-$(PKG_VERSION
).
tar.gz
15 PKG_SOURCE_URL
:=https
://www.cairographics.org
/releases
16 PKG_HASH
:=6d200dec3740d9ec4ec8d1180e25779c00bc749f94278c8b9021f5534db223fc
18 PKG_MAINTAINER
:=Yousong Zhou
<yszhou4tech@gmail.com
>
20 PKG_LICENSE_FILES
:=COPYING
22 include $(INCLUDE_DIR
)/package.mk
23 include $(INCLUDE_DIR
)/meson.mk
28 TITLE
:=a low-level software library for pixel manipulation
29 URL
:=http
://www.pixman.org
/
32 define Package
/pixman
/description
33 Pixman is a low-level software library for pixel manipulation
, providing
34 features such
as image compositing and trapezoid rasterization. Important
35 users of pixman are the cairo graphics library and the X server.
38 define Package
/pixman
/install
39 $(INSTALL_DIR
) $(1)/usr
/lib
40 $(CP
) $(PKG_INSTALL_DIR
)/usr
/lib
/libpixman
*.so
* $(1)/usr
/lib
43 define Build
/InstallDev
44 $(INSTALL_DIR
) $(1)/usr
/lib
45 $(INSTALL_DIR
) $(1)/usr
/include
46 $(CP
) $(PKG_INSTALL_DIR
)/usr
/include/* $(1)/usr
/include
47 $(CP
) $(PKG_INSTALL_DIR
)/usr
/lib
/* $(1)/usr
/lib
50 $(eval
$(call BuildPackage
,pixman
))