summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPhil Blundell <philb@gnu.org>2004-06-27 12:40:35 +0000
committerPhil Blundell <philb@gnu.org>2004-06-27 12:40:35 +0000
commit30356383848aa09088b0b05948fede7618c3a537 (patch)
tree6146fb53c81addf45a3234d70e08994569963ac3
parent26da2a2435c69e972f57d5daeb30459b78064ea8 (diff)
Merge bk://openembedded@openembedded.bkbits.net/packages
into dixie.nexus.co.uk:/home/pb/oe/oe-packages 2004/06/27 13:40:02+01:00 nexus.co.uk!pb add cross-compile patch for configure BKrev: 40dec043RSKykaKqFTxvRyDztGIqtA
-rw-r--r--gnome/libgnomeprintui-2.6.2/configure.patch0
-rw-r--r--gnome/libgnomeprintui_2.6.2.oe31
2 files changed, 31 insertions, 0 deletions
diff --git a/gnome/libgnomeprintui-2.6.2/configure.patch b/gnome/libgnomeprintui-2.6.2/configure.patch
new file mode 100644
index 0000000000..e69de29bb2
--- /dev/null
+++ b/gnome/libgnomeprintui-2.6.2/configure.patch
diff --git a/gnome/libgnomeprintui_2.6.2.oe b/gnome/libgnomeprintui_2.6.2.oe
index e69de29bb2..7f9590361a 100644
--- a/gnome/libgnomeprintui_2.6.2.oe
+++ b/gnome/libgnomeprintui_2.6.2.oe
@@ -0,0 +1,31 @@
+DEPENDS = "libgnomeprint gtk+ libgnomecanvas gnome-icon-theme"
+
+SRC_URI = "${GNOME_MIRROR}/${PN}/2.6/${PN}-${PV}.tar.bz2 \
+ file://compiler-flags.m4 \
+ file://configure.patch;patch=1"
+
+inherit autotools pkgconfig
+
+do_configure_prepend() {
+ mkdir -p ${S}/m4
+ install ${WORKDIR}/compiler-flags.m4 ${S}/m4/
+}
+
+HEADERS = " \
+gnome-print-paper-selector.h \
+gnome-print-config-dialog.h \
+gnome-print-preview.h \
+gnome-font-dialog.h \
+gnome-print-dialog.h \
+gnome-print-unit-selector.h \
+gnome-print-job-preview.h \
+"
+
+do_stage() {
+ install -d ${STAGING_LIBDIR}
+ oe_libinstall -so -a -C libgnomeprintui libgnomeprintui-2-2 ${STAGING_LIBDIR}
+ install -d ${STAGING_INCDIR}/libgnomeprintui-2.2/libgnomeprintui
+ for i in ${HEADERS}; do
+ install -m 0644 libgnomeprintui/$i ${STAGING_INCDIR}/libgnomeprintui-2.2/libgnomeprintui/$i
+ done
+}