summaryrefslogtreecommitdiff
path: root/meta/packages/intltool
diff options
context:
space:
mode:
authorRichard Purdie <rpurdie@linux.intel.com>2009-11-05 13:37:58 +0000
committerRichard Purdie <rpurdie@linux.intel.com>2009-11-13 12:15:25 +0000
commit18fe7edf55fa25251bf292c27276cf2384a8508f (patch)
tree4070ad5ea872a9de56d399917d2a34ef1d55d582 /meta/packages/intltool
parent88de83a0dc939217e0f53c43d2bf2b2c09d92d24 (diff)
downloadopenembedded-core-18fe7edf55fa25251bf292c27276cf2384a8508f.tar.gz
openembedded-core-18fe7edf55fa25251bf292c27276cf2384a8508f.tar.bz2
openembedded-core-18fe7edf55fa25251bf292c27276cf2384a8508f.zip
intltool: Convert to BBCLASSEXTEND
Signed-off-by: Richard Purdie <rpurdie@linux.intel.com>
Diffstat (limited to 'meta/packages/intltool')
-rw-r--r--meta/packages/intltool/intltool-0.40.5/intltool-nowarn.patch40
-rw-r--r--meta/packages/intltool/intltool-native_0.40.5.bb11
-rw-r--r--meta/packages/intltool/intltool.inc9
-rw-r--r--meta/packages/intltool/intltool_0.40.5.bb7
4 files changed, 10 insertions, 57 deletions
diff --git a/meta/packages/intltool/intltool-0.40.5/intltool-nowarn.patch b/meta/packages/intltool/intltool-0.40.5/intltool-nowarn.patch
deleted file mode 100644
index 546db5f119..0000000000
--- a/meta/packages/intltool/intltool-0.40.5/intltool-nowarn.patch
+++ /dev/null
@@ -1,40 +0,0 @@
---- intltool-0.35.0/intltool-extract.in.in.orig 2006-06-16 15:49:14.000000000 -0600
-+++ intltool-0.35.0/intltool-extract.in.in 2006-06-16 15:49:18.000000000 -0600
-@@ -1,4 +1,4 @@
--#!@INTLTOOL_PERL@ -w
-+#!@INTLTOOL_PERL@
- # -*- Mode: perl; indent-tabs-mode: nil; c-basic-offset: 4 -*-
-
- #
---- intltool-0.35.0/intltool-merge.in.in.orig 2006-06-16 15:49:18.000000000 -0600
-+++ intltool-0.35.0/intltool-merge.in.in 2006-06-16 15:49:23.000000000 -0600
-@@ -1,4 +1,4 @@
--#!@INTLTOOL_PERL@ -w
-+#!@INTLTOOL_PERL@
- # -*- Mode: perl; indent-tabs-mode: nil; c-basic-offset: 4 -*-
-
- #
---- intltool-0.35.0/intltool-prepare.in.orig 2006-06-16 15:49:23.000000000 -0600
-+++ intltool-0.35.0/intltool-prepare.in 2006-06-16 15:49:26.000000000 -0600
-@@ -1,4 +1,4 @@
--#!@INTLTOOL_PERL@ -w
-+#!@INTLTOOL_PERL@
- # -*- Mode: perl; indent-tabs-mode: nil; c-basic-offset: 4 -*-
-
- # Intltool .desktop, .directory Prepare Tool
---- intltool-0.35.0/intltool-unicodify.in.orig 2006-06-16 15:49:26.000000000 -0600
-+++ intltool-0.35.0/intltool-unicodify.in 2006-06-16 15:49:30.000000000 -0600
-@@ -1,4 +1,4 @@
--#!@INTLTOOL_PERL@ -w
-+#!@INTLTOOL_PERL@
-
- #
- # The i18n Unicode Encoding Utility
---- intltool-0.35.0/intltool-update.in.in.orig 2006-06-16 15:49:30.000000000 -0600
-+++ intltool-0.35.0/intltool-update.in.in 2006-06-16 15:49:35.000000000 -0600
-@@ -1,4 +1,4 @@
--#!@INTLTOOL_PERL@ -w
-+#!@INTLTOOL_PERL@
- # -*- Mode: perl; indent-tabs-mode: nil; c-basic-offset: 4 -*-
-
- #
diff --git a/meta/packages/intltool/intltool-native_0.40.5.bb b/meta/packages/intltool/intltool-native_0.40.5.bb
deleted file mode 100644
index d359be766c..0000000000
--- a/meta/packages/intltool/intltool-native_0.40.5.bb
+++ /dev/null
@@ -1,11 +0,0 @@
-require intltool_${PV}.bb
-
-PR = "r2"
-
-inherit native
-DEPENDS = "libxml-parser-perl-native"
-
-export PERL = "/usr/bin/env perl"
-SRC_URI_append = " file://intltool-nowarn-0.40.0.patch;patch=1"
-
-RRECOMMENDS = ""
diff --git a/meta/packages/intltool/intltool.inc b/meta/packages/intltool/intltool.inc
index 410a89cfa3..a3057c61cf 100644
--- a/meta/packages/intltool/intltool.inc
+++ b/meta/packages/intltool/intltool.inc
@@ -7,8 +7,17 @@ URLV="${@'.'.join(bb.data.getVar('PV',d,1).split('.')[0:2])}"
SRC_URI = "${GNOME_MIRROR}/intltool/${URLV}/intltool-${PV}.tar.bz2"
S = "${WORKDIR}/intltool-${PV}"
+PR = "r3"
+
+DEPENDS = "libxml-parser-perl-native"
+#RDEPENDS = "libxml-parser-perl"
+RRECOMMENDS = "perl-modules"
+
inherit autotools pkgconfig
do_stage() {
install -m 0644 intltool.m4 ${STAGING_DATADIR}/aclocal/
}
+
+export PERL_virtclass-native = "/usr/bin/env perl"
+BBCLASSEXTEND = "native"
diff --git a/meta/packages/intltool/intltool_0.40.5.bb b/meta/packages/intltool/intltool_0.40.5.bb
index 6626ed54fe..fe700f21ed 100644
--- a/meta/packages/intltool/intltool_0.40.5.bb
+++ b/meta/packages/intltool/intltool_0.40.5.bb
@@ -1,8 +1,3 @@
require intltool.inc
-DEPENDS = "libxml-parser-perl-native"
-#RDEPENDS = "libxml-parser-perl"
-
-PR = "r0"
-
-RRECOMMENDS = "perl-modules"
+SRC_URI_append = " file://intltool-nowarn-0.40.0.patch;patch=1"