2 # Copyright (C) 2006-2015 OpenWrt.org
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.xz
15 PKG_SOURCE_URL
:=@SF
/freetype
16 PKG_HASH
:=12991c4e55c506dd7f9b765933e62fd2be2e06d421505d7950a132e4f1bb484d
18 PKG_MAINTAINER
:=Val Kulkov
<val.kulkov@gmail.com
>
19 PKG_LICENSE
:=FTL GPL-2.0
-only MIT ZLIB GPL-3.0
-or-later
20 PKG_LICENSE_FILES
:=docs
/LICENSE.TXT docs
/FTL.TXT docs
/GPLv2.TXT src
/bdf
/README src
/pcf
/README src
/gzip
/zlib.h builds
/unix
/config.sub builds
/unix
/config.guess builds
/unix
/libtool
21 PKG_CPE_ID
:=cpe
:/a
:freetype
:freetype
23 include $(INCLUDE_DIR
)/package.mk
24 include $(INCLUDE_DIR
)/meson.mk
26 define Package
/libfreetype
29 TITLE
:=A free
, high-quality and portable font engine
30 URL
:=https
://www.freetype.org
/
31 DEPENDS
:=+zlib
+libpng
34 define Package
/libfreetype
/description
35 The FreeType project is a team of volunteers who develop free
,
36 portable and high-quality software solutions for digital typography.
37 They specifically target embedded systems and focus on bringing small
,
38 efficient and ubiquitous products.
49 define Build
/InstallDev
50 $(INSTALL_DIR
) $(1)/usr
/include/freetype2
51 $(CP
) $(PKG_INSTALL_DIR
)/usr
/include/freetype2
/* $(1)/usr
/include/freetype2
/
52 $(INSTALL_DIR
) $(1)/usr
/lib
53 $(CP
) $(PKG_INSTALL_DIR
)/usr
/lib
/libfreetype.so
* $(1)/usr
/lib
/
54 $(INSTALL_DIR
) $(1)/usr
/lib
/pkgconfig
55 $(CP
) $(PKG_INSTALL_DIR
)/usr
/lib
/pkgconfig
/freetype2.
pc $(1)/usr
/lib
/pkgconfig
/freetype2.
pc
58 define Package
/libfreetype
/install
59 $(INSTALL_DIR
) $(1)/usr
/lib
60 $(CP
) $(PKG_INSTALL_DIR
)/usr
/lib
/libfreetype.so.
* $(1)/usr
/lib
/
63 $(eval
$(call BuildPackage
,libfreetype
))