]> code.ossystems Code Review - openembedded-core.git/commitdiff
Add libxml-simple-perl
authorRichard Purdie <richard@openedhand.com>
Fri, 1 Feb 2008 17:49:45 +0000 (17:49 +0000)
committerRichard Purdie <richard@openedhand.com>
Fri, 1 Feb 2008 17:49:45 +0000 (17:49 +0000)
git-svn-id: https://svn.o-hand.com/repos/poky/trunk@3658 311d38ba-8fff-0310-9ca6-ca027cbcb966

meta/packages/perl/libxml-simple-perl-native_2.18.bb [new file with mode: 0644]
meta/packages/perl/libxml-simple-perl_2.18.bb [new file with mode: 0644]

diff --git a/meta/packages/perl/libxml-simple-perl-native_2.18.bb b/meta/packages/perl/libxml-simple-perl-native_2.18.bb
new file mode 100644 (file)
index 0000000..bfdfc3d
--- /dev/null
@@ -0,0 +1,7 @@
+SECTION = "libs"
+
+inherit native
+
+require libxml-simple-perl_${PV}.bb
+
+DEPENDS = "libxml-parser-perl-native perl-native"
diff --git a/meta/packages/perl/libxml-simple-perl_2.18.bb b/meta/packages/perl/libxml-simple-perl_2.18.bb
new file mode 100644 (file)
index 0000000..58c4fef
--- /dev/null
@@ -0,0 +1,12 @@
+SECTION = "libs"
+LICENSE = "Artistic"
+DEPENDS += "libxml-parser-perl"
+PR = "r0"
+
+SRC_URI = "http://www.cpan.org/modules/by-module/XML/XML-Simple-${PV}.tar.gz"
+
+S = "${WORKDIR}/XML-Simple-${PV}"
+
+EXTRA_CPANFLAGS = "EXPATLIBPATH=${STAGING_LIBDIR} EXPATINCPATH=${STAGING_INCDIR}"
+
+inherit cpan