summaryrefslogtreecommitdiffstats
path: root/recipes-extended/openipmi/openipmi.inc
blob: 6bb834545f2b19ad404086df2554338f8f46027c (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
29
30
31
32
33
34
DESCRIPTION = "This is the OpenIPMI library, a library that makes simplifies building complex IPMI management software."
SECTION = "console/network"
LICENSE = "GPLv2"
LIC_FILES_CHKSUM = "file://COPYING;md5=94d55d512a9ba36caa9b7df079bae19f"
DEPENDS = " \
    openssl \
    popt \
    zlib \
    ncurses \
    glib-2.0 \
    gdbm \
    "

INC_PR = "r2"

inherit autotools gettext update-alternatives

PACKAGECONFIG ??= "net-snmp"

PACKAGECONFIG[net-snmp] = ",--with-ucdsnmp=no,net-snmp"
PACKAGECONFIG[python] = "--with-python,--without-python,python,"
PACKAGECONFIG[perl] = "--with-perl=${STAGING_BINDIR_NATIVE},--with-perl=no,perl,"
PACKAGECONFIG[tcl] = "--with-tcl,--without-tcl,tcl,"

EXTRA_OECONF = "\
    --prefix=${prefix} \
    "

S = "${WORKDIR}/OpenIPMI-${PV}"

PARALLEL_MAKEINST = ""

FILES_${PN} += "/usr/lib/perl5"
FILES_${PN}-dbg += "/usr/lib/perl5/auto/OpenIPMI/.debug"