summaryrefslogtreecommitdiffstats
path: root/recipes/net-snmp/net-snmp_svn.bb
blob: 689a41652eb0626fa6b52d5d3513f10dc03e7334 (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
28
require net-snmp.inc
DEPENDS += "libtool libtool-native libtool-cross"
SRCREV = "17367"
PR = "${INC_PR}.0"

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

SRC_URI = "svn://net-snmp.svn.sourceforge.net/svnroot/net-snmp/trunk;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
}