summaryrefslogtreecommitdiff
path: root/package
diff options
context:
space:
mode:
Diffstat (limited to 'package')
-rw-r--r--package/Config.in1
-rw-r--r--package/Makefile1
-rw-r--r--package/gtk+/Config.in6
-rw-r--r--package/gtk+/Makefile30
4 files changed, 38 insertions, 0 deletions
diff --git a/package/Config.in b/package/Config.in
index cba661097..898f916d7 100644
--- a/package/Config.in
+++ b/package/Config.in
@@ -400,6 +400,7 @@ source "package/dbus/Config.in"
source "package/e2fsprogs/Config.in.lib"
source "package/gettext/Config.in"
source "package/glib/Config.in"
+source "package/gtk+/Config.in"
source "package/id3lib/Config.in"
source "package/libao/Config.in"
source "package/libaudiofile/Config.in"
diff --git a/package/Makefile b/package/Makefile
index b1762788a..070ecf0ee 100644
--- a/package/Makefile
+++ b/package/Makefile
@@ -120,6 +120,7 @@ package-$(ADK_PACKAGE_GETTEXT) += gettext
package-$(ADK_PACKAGE_GIT) += git
package-$(ADK_PACKAGE_GKRELLMD) += gkrellmd
package-$(ADK_PACKAGE_GLIB) += glib
+package-$(ADK_PACKAGE_GTK) += gtk+
ifeq (${ADK_TARGET_LIB_GLIBC},y)
package-$(ADK_PACKAGE_GLIBC) += glibc
endif
diff --git a/package/gtk+/Config.in b/package/gtk+/Config.in
new file mode 100644
index 000000000..360ac70db
--- /dev/null
+++ b/package/gtk+/Config.in
@@ -0,0 +1,6 @@
+config ADK_PACKAGE_GTK
+ prompt "gtk+.............................. GTK+ library"
+ tristate
+ select ADK_PACKAGE_GLIB
+ default n
+ help
diff --git a/package/gtk+/Makefile b/package/gtk+/Makefile
new file mode 100644
index 000000000..775c9a082
--- /dev/null
+++ b/package/gtk+/Makefile
@@ -0,0 +1,30 @@
+# 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.3
+PKG_RELEASE:= 1
+PKG_MD5SUM:= 8b34f75642ff6cc783dfa7e3af0ba443
+PKG_DESCR:= GTK+ library
+PKG_SECTION:= libs
+PKG_DEPENDS:= glib
+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_STYLE:= gnu
+BUILD_STYLE:= auto
+INSTALL_STYLE:= auto
+
+post-install:
+ ${INSTALL_DIR} ${IDIR_GTK}/usr/lib
+
+include ${TOPDIR}/mk/pkg-bottom.mk