summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--meta/packages/perl/libxml-simple-perl-native_2.18.bb7
-rw-r--r--meta/packages/perl/libxml-simple-perl_2.18.bb12
2 files changed, 19 insertions, 0 deletions
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
index 000000000..bfdfc3de4
--- /dev/null
+++ b/meta/packages/perl/libxml-simple-perl-native_2.18.bb
@@ -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
index 000000000..58c4fef4e
--- /dev/null
+++ b/meta/packages/perl/libxml-simple-perl_2.18.bb
@@ -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