summaryrefslogtreecommitdiff
path: root/package/libglade
diff options
context:
space:
mode:
authorPeter Korsgaard <jacmet@sunsite.dk>2008-12-27 14:36:29 +0000
committerPeter Korsgaard <jacmet@sunsite.dk>2008-12-27 14:36:29 +0000
commit2ff401a953c36f02ae24b9b20b12afe85c4f345e (patch)
treea6c354d0aeee262bfd22751aa1ff3885ef7ff590 /package/libglade
parent9b89bd65c45617fc0002e3302126b261c02319a7 (diff)
package: add libglade
Diffstat (limited to 'package/libglade')
-rw-r--r--package/libglade/Config.in13
-rw-r--r--package/libglade/libglade.mk17
2 files changed, 30 insertions, 0 deletions
diff --git a/package/libglade/Config.in b/package/libglade/Config.in
new file mode 100644
index 000000000..efed36bf7
--- /dev/null
+++ b/package/libglade/Config.in
@@ -0,0 +1,13 @@
+config BR2_PACKAGE_LIBGLADE
+ bool "libglade"
+ depends on BR2_PACKAGE_LIBGTK2
+ select BR2_PACKAGE_PKGCONFIG
+ select BR2_PACKAGE_LIBGLIB2
+ select BR2_PACKAGE_ATK
+ select BR2_PACKAGE_LIBXML2
+ help
+ Libglade allows you to load glade interface files in a program
+ at runtime. It doesn't require GLADE to be used, but GLADE is
+ by far the easiest way to create the interface files.
+
+ http://ftp.gnome.org/pub/GNOME/sources/libglade/
diff --git a/package/libglade/libglade.mk b/package/libglade/libglade.mk
new file mode 100644
index 000000000..8540a61d5
--- /dev/null
+++ b/package/libglade/libglade.mk
@@ -0,0 +1,17 @@
+#############################################################
+#
+# libglade
+#
+#############################################################
+LIBGLADE_VERSION = 2.6.3
+LIBGLADE_SOURCE = libglade-$(LIBGLADE_VERSION).tar.bz2
+LIBGLADE_SITE = http://ftp.gnome.org/pub/GNOME/sources/libglade/2.6/
+LIBGLADE_INSTALL_STAGING = YES
+LIBGLADE_DEPENDENCIES = pkgconfig libglib2 libgtk2 atk libxml2
+
+$(eval $(call AUTOTARGETS,package,libglade))
+
+$(LIBGLADE_HOOK_POST_INSTALL):
+ rm -rf $(TARGET_DIR)/usr/share/gtk-doc \
+ $(TARGET_DIR)/usr/share/xml/libglade \
+ $(TARGET_DIR)/usr/bin/libglade-convert