summaryrefslogtreecommitdiff
path: root/package/gtk+/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'package/gtk+/Makefile')
-rw-r--r--package/gtk+/Makefile34
1 files changed, 34 insertions, 0 deletions
diff --git a/package/gtk+/Makefile b/package/gtk+/Makefile
new file mode 100644
index 000000000..95ed06d3c
--- /dev/null
+++ b/package/gtk+/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:= gtk+
+PKG_VERSION:= 2.18.6
+PKG_RELEASE:= 1
+PKG_MD5SUM:= f98617af9f6be3065f64248f78dae2b7
+PKG_DESCR:= GTK+ library
+PKG_SECTION:= libs
+PKG_DEPENDS:= glib
+PKG_BUILDDEP+= cairo atk pango libXext renderproto libXrender
+PKG_URL:= http://www.gtk.org/
+PKG_SITES:= http://ftp.gnome.org/pub/gnome/sources/gtk+/2.18/
+
+ifeq ($(ADK_STATIC),y)
+PKG_OPTS:= libonly
+endif
+
+include ${TOPDIR}/mk/package.mk
+
+$(eval $(call PKG_template,GTK,${PKG_NAME},${PKG_VERSION}-${PKG_RELEASE},${PKG_DEPENDS},${PKG_DESCR},${PKG_SECTION},${PKG_OPTS}))
+
+CONFIGURE_ENV+= gio_can_sniff=no \
+ ac_cv_path_GTK_UPDATE_ICON_CACHE=""
+CONFIGURE_ARGS+= --without-libtiff \
+ --without-libjpeg
+
+post-install:
+ ${INSTALL_DIR} ${IDIR_GTK}/usr/lib
+ ${CP} ${WRKINST}/usr/lib/lib*.so* ${IDIR_GTK}/usr/lib
+
+include ${TOPDIR}/mk/pkg-bottom.mk