aboutsummaryrefslogtreecommitdiff
path: root/recipes/perl/libxml-libxml-perl_1.70.bb
blob: 2497f6134b7cbb483cc8050aac9f3f1cb3b24ecf (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
DESCRIPTION = "XML-LibXML"
SECTION = "libs"
LICENSE = "Artistic|GPLv1+"
DEPENDS += "libxml2 \
        libxml-sax-perl-native \
        zlib \
"
RDEPENDS_${PN} += "libxml2 \
        libxml-sax-perl \
        zlib \
"
PR = "r4"

SRC_URI = "http://search.cpan.org/CPAN/authors/id/P/PA/PAJAS/XML-LibXML-${PV}.tar.gz;name=libxml \
        file://libxml-libxml-perl-disable-libxml2-check.patch \
"
SRC_URI[libxml.md5sum] = "33d4294f708e20c298cfe534d1166844"
SRC_URI[libxml.sha256sum] = "53e6cf06772ba9d85055dc6e4488dbd876d2376e48ef3578fa73246ee98b3ba0"

S = "${WORKDIR}/XML-LibXML-${PV}"

inherit cpan

EXTRA_CPANFLAGS = "INC=-I${STAGING_INCDIR}/libxml2 LIBS=-L${STAGING_LIBDIR}"

BBCLASSEXTEND = "native"

CFLAGS += " -D_GNU_SOURCE "
BUILD_CFLAGS += " -D_GNU_SOURCE "