diff options
author | Cliff Brake <cbrake@bec-systems.com> | 2009-02-16 10:03:32 -0500 |
---|---|---|
committer | Cliff Brake <cbrake@bec-systems.com> | 2009-02-16 10:03:32 -0500 |
commit | d512927cbf42dc9a3302ecac790a18d397ea012f (patch) | |
tree | 2d624d29a763e5f9ae9b618148cfc6063e6cd50e /packages/net-snmp/net-snmp_5.4.1.bb | |
parent | 68e1ea7aeddc4f7efc621558dfd424cd2fe22674 (diff) | |
parent | 3fe1150b7afa91ee59dfa6346c1f7387638b7817 (diff) |
Merge branch 'org.openembedded.dev' of git@git.openembedded.net:openembedded into org.openembedded.dev
Diffstat (limited to 'packages/net-snmp/net-snmp_5.4.1.bb')
-rw-r--r-- | packages/net-snmp/net-snmp_5.4.1.bb | 47 |
1 files changed, 5 insertions, 42 deletions
diff --git a/packages/net-snmp/net-snmp_5.4.1.bb b/packages/net-snmp/net-snmp_5.4.1.bb index d900019a0a..f76005b435 100644 --- a/packages/net-snmp/net-snmp_5.4.1.bb +++ b/packages/net-snmp/net-snmp_5.4.1.bb @@ -1,13 +1,5 @@ -DESCRIPTION = "Various tools relating to the Simple Network Management Protocol" -HOMEPAGE = "http://www.net-snmp.org/" -LICENSE = "BSD" -DEPENDS = "openssl" -RDEPENDS_${PN}-server += "net-snmp-mibs" -RDEPENDS_${PN}-client += "net-snmp-mibs" -RDEPENDS_${PN}-dev = "net-snmp-client (= ${EXTENDPV}) net-snmp-server (= ${EXTENDPV})" -RRECOMMENDS_${PN}-dbg = "net-snmp-client (= ${EXTENDPV}) net-snmp-server (= ${EXTENDPV})" - -PR = "r1" +require net-snmp.inc +PR = "r2" SRC_URI = "${SOURCEFORGE_MIRROR}/net-snmp/net-snmp-${PV}.tar.gz \ file://configure-tail.patch;patch=1 \ @@ -15,43 +7,14 @@ SRC_URI = "${SOURCEFORGE_MIRROR}/net-snmp/net-snmp-${PV}.tar.gz \ file://snmpd.conf \ file://snmptrapd.conf" -inherit autotools update-rc.d - EXTRA_OECONF = "--enable-shared --disable-manuals --with-defaults \ --disable-embedded-perl --with-perl-modules=no" EXTRA_OEMAKE = "INSTALL_PREFIX=${D}" -do_configure() { - # Additional flag based on target endiness (see siteinfo.bbclass) - ENDIANESS="${@base_conditional('SITEINFO_ENDIANESS', 'le', '--with-endianness=little', '--with-endianness=big', d)}" - oenote Determined endianess as: $ENDIANESS +do_configure_prepend() { libtoolize --force - oe_runconf $ENDIANESS -} -do_install_append() { - install -d ${D}${sysconfdir}/snmp - install -d ${D}${sysconfdir}/init.d - install -m 755 ${WORKDIR}/init ${D}${sysconfdir}/init.d/snmpd - install -m 644 ${WORKDIR}/snmpd.conf ${D}${sysconfdir}/snmp/ - install -m 644 ${WORKDIR}/snmptrapd.conf ${D}${sysconfdir}/snmp/ } -PACKAGES = "net-snmp-dbg net-snmp-doc net-snmp-dev net-snmp-libs \ - net-snmp-mibs net-snmp-server net-snmp-client" - -FILES_${PN}-libs = "${libdir}/*" -FILES_${PN}-mibs = "${datadir}/snmp/mibs" -FILES_${PN}-server = "${sbindir}/* ${sysconfdir}" -FILES_${PN}-client = "${bindir}/* ${datadir}/snmp/" -FILES_${PN}-dbg += "${libdir}/.debug/ ${sbindir}/.debug/ ${bindir}/.debug/" - -CONFFILES_${PN}-server = "${sysconfdir}/snmp/snmpd.conf \ - ${sysconfdir}/snmp/snmptrapd.conf" - -INITSCRIPT_PACKAGES = "${PN}-server" -INITSCRIPT_NAME_${PN}-server = "snmpd" -INITSCRIPT_PARAMS_${PN}-server = "defaults" - -LEAD_SONAME = "libnetsnmp.so" - PARALLEL_MAKE = "" +CCACHE = "" + |