summaryrefslogtreecommitdiff
path: root/package/freetype
diff options
context:
space:
mode:
Diffstat (limited to 'package/freetype')
-rw-r--r--package/freetype/Config.in24
-rw-r--r--package/freetype/Makefile28
-rw-r--r--package/freetype/ipkg/libfreetype.control16
3 files changed, 68 insertions, 0 deletions
diff --git a/package/freetype/Config.in b/package/freetype/Config.in
new file mode 100644
index 000000000..f860e7ce0
--- /dev/null
+++ b/package/freetype/Config.in
@@ -0,0 +1,24 @@
+config ADK_COMPILE_FREETYPE
+ tristate
+ default n
+ depends ADK_PACKAGE_LIBFREETYPE
+
+config ADK_PACKAGE_LIBFREETYPE
+ tristate "libfreetype....................... A free, high-quality and portable font engine"
+ default n
+ select ADK_COMPILE_FREETYPE
+ select ADK_PACKAGE_ZLIB
+ help
+ The FreeType project is a team of volunteers who develop free,
+ portable and high-quality software solutions for digital typography.
+ They specifically target embedded systems and focus on bringing small,
+ efficient and ubiquitous products.
+
+ The FreeType 2 library is their new software font engine. It has been
+ designed to provide the following important features:
+ * A universal and simple API to manage font files
+ * Support for several font formats through loadable modules
+ * High-quality anti-aliasing
+ * High portability & performance
+
+ http://www.freetype.org/
diff --git a/package/freetype/Makefile b/package/freetype/Makefile
new file mode 100644
index 000000000..0b8664e00
--- /dev/null
+++ b/package/freetype/Makefile
@@ -0,0 +1,28 @@
+# $Id$
+#-
+# This file is part of the OpenADK project. OpenADK is copyrighted
+# material, please see the LICENCE file in the top-level directory.
+
+include ${TOPDIR}/rules.mk
+
+PKG_NAME:= libfreetype
+PKG_VERSION:= 2.1.9
+PKG_RELEASE:= 1
+PKG_MD5SUM:= ec1b903e4be5f073caa72458ea58c29c
+DISTFILES:= freetype-${PKG_VERSION}.tar.bz2
+MASTER_SITES:= ${MASTER_SITE_SOURCEFORGE:=freetype/}
+WRKDIST= ${WRKDIR}/freetype-${PKG_VERSION}
+
+include ${TOPDIR}/mk/package.mk
+
+$(eval $(call PKG_template,LIBFREETYPE,libfreetype,${PKG_VERSION}-${PKG_RELEASE},${ARCH}))
+
+CONFIGURE_STYLE= gnu
+BUILD_STYLE= auto
+INSTALL_STYLE= auto confprog
+
+post-install:
+ ${INSTALL_DIR} ${IDIR_LIBFREETYPE}/usr/lib
+ ${CP} ${WRKINST}/usr/lib/libfreetype.so.* ${IDIR_LIBFREETYPE}/usr/lib/
+
+include ${TOPDIR}/mk/pkg-bottom.mk
diff --git a/package/freetype/ipkg/libfreetype.control b/package/freetype/ipkg/libfreetype.control
new file mode 100644
index 000000000..c1e0ec54c
--- /dev/null
+++ b/package/freetype/ipkg/libfreetype.control
@@ -0,0 +1,16 @@
+Package: libfreetype
+Priority: optional
+Section: libs
+Depends: zlib
+Description: A free, high-quality and portable font engine.
+ The FreeType project is a team of volunteers who develop free,
+ portable and high-quality software solutions for digital typography.
+ They specifically target embedded systems and focus on bringing small,
+ efficient and ubiquitous products.
+ .
+ The FreeType 2 library is their new software font engine. It has been
+ designed to provide the following important features:
+ * A universal and simple API to manage font files
+ * Support for several font formats through loadable modules
+ * High-quality anti-aliasing
+ * High portability & performance