summaryrefslogtreecommitdiff
path: root/recipes/net-snmp/net-snmp_svn.bb
blob: c8c39fa819dee03f44f44d4dcca411b678408e0d (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 = "${INC_PR}.0"

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
}