aboutsummaryrefslogtreecommitdiffstats
path: root/recipes/net-snmp/net-snmp_svn.bb
blob: 2f82865aaae58fb2d2a39153631835e79e6ff6a6 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
require net-snmp.inc
DEPENDS += "libtool libtool-native libtool-cross"

PR = "r3"
S = "${WORKDIR}/net-snmp"

SRC_URI = "svn://net-snmp.svn.sourceforge.net/svnroot/net-snmp/trunk;rev=17367;module=net-snmp;proto=https \
        file://init \
        file://snmpd.conf \
        file://snmptrapd.conf"

EXTRA_OECONF = "--enable-shared --disable-manuals --with-defaults \
                --disable-embedded-perl --with-perl-modules=no GREP=/bin/grep SED=/bin/sed"
EXTRA_OEMAKE = "INSTALL_PREFIX=${D}"

PARALLEL_MAKE = ""
CCACHE = ""

do_configure_prepend() {
    gnu-configize -f
    # We better change sources and re-autoconf here, but
    # required autoconf is too new for us.
    sed -e '/echo.*\".*\\\\.*\"/s/echo/echo -e/g' \
        -e 's/tail -1/tail -n 1/g'                \
        -i configure
}