summaryrefslogtreecommitdiff
path: root/package/cairo
diff options
context:
space:
mode:
authorWaldemar Brodkorb <wbx@openadk.org>2009-12-04 21:37:01 +0100
committerWaldemar Brodkorb <wbx@openadk.org>2009-12-04 21:37:01 +0100
commit9bacd09cc5280924908fc4bba494856bbe37c47f (patch)
tree7a6d58d0887eda74012b461389db21015062c459 /package/cairo
parent6045422139a0dbbefaf508b1343f11535d6b104e (diff)
some more additions for gtk+ library porting
Diffstat (limited to 'package/cairo')
-rw-r--r--package/cairo/Config.in10
-rw-r--r--package/cairo/Makefile34
2 files changed, 44 insertions, 0 deletions
diff --git a/package/cairo/Config.in b/package/cairo/Config.in
new file mode 100644
index 000000000..60bc1bd4f
--- /dev/null
+++ b/package/cairo/Config.in
@@ -0,0 +1,10 @@
+config ADK_PACKAGE_CAIRO
+ prompt "cairo............................. Cairo library"
+ tristate
+ select ADK_PACKAGE_LIBPNG
+ select ADK_PACKAGE_LIBX11
+ select ADK_PACKAGE_PIXMAN
+ select ADK_PACKAGE_LIBFREETYPE
+ select ADK_PACKAGE_FONTCONFIG
+ default n
+ help
diff --git a/package/cairo/Makefile b/package/cairo/Makefile
new file mode 100644
index 000000000..7dd034a18
--- /dev/null
+++ b/package/cairo/Makefile
@@ -0,0 +1,34 @@
+# 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:= cairo
+PKG_VERSION:= 1.8.8
+PKG_RELEASE:= 1
+PKG_MD5SUM:= d3e1a1035ae563812d4dd44a74fb0dd0
+PKG_DESCR:= cairo graphics library
+PKG_SECTION:= libs
+PKG_DEPENDS:= fontconfig freetype libpng libX11 pixman
+PKG_URL:= http://cairographics.org/
+PKG_SITES:= http://cairographics.org/releases/
+
+ifeq ($(ADK_STATIC),y)
+PKG_OPTS:= libonly
+endif
+
+include ${TOPDIR}/mk/package.mk
+
+$(eval $(call PKG_template,CAIRO,${PKG_NAME},${PKG_VERSION}-${PKG_RELEASE},${PKG_DEPENDS},${PKG_DESCR},${PKG_SECTION},${PKG_OPTS}))
+
+CONFIGURE_STYLE:= gnu
+CONFIGURE_ARGS+= --enable-ft=yes \
+ --enable-xlib=yes
+BUILD_STYLE:= auto
+INSTALL_STYLE:= auto
+
+post-install:
+ ${INSTALL_DIR} ${IDIR_CAIRO}/usr/lib
+ ${CP} ${WRKINST}/usr/lib/libcairo.so* ${IDIR_CAIRO}/usr/lib
+
+include ${TOPDIR}/mk/pkg-bottom.mk