[oe-commits] Jan Lübbe : net-snmp: add recipe for perl bindings

git version control git at git.openembedded.org
Fri Sep 18 08:05:24 UTC 2009


Module: openembedded.git
Branch: org.openembedded.dev
Commit: 6adf15ce211e6111567fa66a282ffcaae4fa58c7
URL:    http://gitweb.openembedded.net/?p=openembedded.git&a=commit;h=6adf15ce211e6111567fa66a282ffcaae4fa58c7

Author: Jan Lübbe <jluebbe at debian.org>
Date:   Wed Sep  9 13:57:50 2009 +0000

net-snmp: add recipe for perl bindings

It seems hard to convince net-snmp's build system to crossbuild the perl
bindings, so i use a new recipe.

---

 recipes/net-snmp/libsnmp-perl_5.4.2.1.bb |   13 +++++++++++++
 recipes/net-snmp/libsnmp-perl_svn.bb     |   13 +++++++++++++
 2 files changed, 26 insertions(+), 0 deletions(-)

diff --git a/recipes/net-snmp/libsnmp-perl_5.4.2.1.bb b/recipes/net-snmp/libsnmp-perl_5.4.2.1.bb
new file mode 100644
index 0000000..1352601
--- /dev/null
+++ b/recipes/net-snmp/libsnmp-perl_5.4.2.1.bb
@@ -0,0 +1,13 @@
+DESCRIPTION = "Perl module from net-snmp"
+SECTION = "libs"
+LICENSE = "BSD"
+DEPENDS = "net-snmp"
+PR = "r0"
+
+SRC_URI = "${SOURCEFORGE_MIRROR}/net-snmp/net-snmp-${PV}.tar.gz"
+
+S = "${WORKDIR}/net-snmp-${PV}/perl"
+
+inherit cpan
+
+EXTRA_CPANFLAGS = "-NET-SNMP-CONFIG=\"sh ${STAGING_BINDIR}/net-snmp-config\""
diff --git a/recipes/net-snmp/libsnmp-perl_svn.bb b/recipes/net-snmp/libsnmp-perl_svn.bb
new file mode 100644
index 0000000..729a3d9
--- /dev/null
+++ b/recipes/net-snmp/libsnmp-perl_svn.bb
@@ -0,0 +1,13 @@
+DESCRIPTION = "Perl module from net-snmp"
+SECTION = "libs"
+LICENSE = "BSD"
+DEPENDS = "net-snmp"
+PR = "r2"
+
+SRC_URI = "svn://net-snmp.svn.sourceforge.net/svnroot/net-snmp/trunk;rev=17367;module=net-snmp;proto=https"
+
+S = "${WORKDIR}/net-snmp/perl"
+
+inherit cpan
+
+EXTRA_CPANFLAGS = "-NET-SNMP-CONFIG=${STAGING_BINDIR}/net-snmp-config -NET-SNMP-IN-SOURCE=false"





More information about the Openembedded-commits mailing list