summaryrefslogtreecommitdiff
path: root/package
diff options
context:
space:
mode:
authorWaldemar Brodkorb <wbx@openadk.org>2009-12-04 17:46:39 +0100
committerWaldemar Brodkorb <wbx@openadk.org>2009-12-04 17:46:39 +0100
commit9f3987b09bded00d382e3fdd99bdf1afe106455f (patch)
tree2cc36ba54b1ed16baafe4a2e34da3ec15e81637b /package
parentdcb09f4eac12e7a3fd269e7648cf8d3cf9149efb (diff)
add skeleton for gtk+
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 ca69eff01..8799b3588 100644
--- a/package/Config.in
+++ b/package/Config.in
@@ -399,6 +399,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 beb76dd6a..27f9f1fe5 100644
--- a/package/Makefile
+++ b/package/Makefile
@@ -119,6 +119,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