perl: Add the libmodule-build perl module. This is required for anything
authorJamie Lenehan <lenehan@twibble.org>
Tue, 26 Sep 2006 23:17:07 +0000 (23:17 +0000)
committerJamie Lenehan <lenehan@twibble.org>
Tue, 26 Sep 2006 23:17:07 +0000 (23:17 +0000)
using the new Build.PL build system, *expect* for libmodule-build itself
which can bootstrap itself.

packages/perl/libmodule-build-perl-native_0.2805.bb [new file with mode: 0644]
packages/perl/libmodule-build-perl_0.2805.bb [new file with mode: 0644]

diff --git a/packages/perl/libmodule-build-perl-native_0.2805.bb b/packages/perl/libmodule-build-perl-native_0.2805.bb
new file mode 100644 (file)
index 0000000..65db79b
--- /dev/null
@@ -0,0 +1,4 @@
+SECTION = "libs"
+require libmodule-build-perl_${PV}.bb
+inherit native
+EXTRA_CPANFLAGS += " EXPATINCPATH='${STAGING_INCDIR}' EXPATLIBPATH='${STAGING_LIBDIR}'"
diff --git a/packages/perl/libmodule-build-perl_0.2805.bb b/packages/perl/libmodule-build-perl_0.2805.bb
new file mode 100644 (file)
index 0000000..ef646a5
--- /dev/null
@@ -0,0 +1,16 @@
+DESCRIPTION = "Module::Build - Build and install Perl modules"
+SECTION = "libs"
+SRC_URI = "http://search.cpan.org/CPAN/authors/id/K/KW/KWILLIAMS/Module-Build-0.2805.tar.gz"
+LICENSE = "Artistic"
+MAINTAINER = "Jamie Lenehan <lenehan@twibble.org>"
+DEPENDS = "libyaml-perl-native libversion-perl-native \
+           libextutils-cbuilder-perl-native \
+           libextutils-parsexs-perl-native \
+           libarchive-tar-perl-native"
+RDEPENDS = "libyaml-perl libversion-perl libextutils-cbuilder-perl \
+            libextutils-parsexs-perl libarchive-tar-perl"
+PR = "r2"
+
+S = "${WORKDIR}/Module-Build-${PV}"
+
+inherit cpan_build