SECTION = "libs"
LICENSE = "Artistic|GPL"
DEPENDS += "expat expat-native"

SRC_URI = "http://www.cpan.org/modules/by-module/IO/IO-Compress-Zlib-${PV}.tar.gz"

S = "${WORKDIR}/IO-Compress-Zlib-${PV}"

EXTRA_CPANFLAGS = "EXPATLIBPATH=${STAGING_LIBDIR} EXPATINCPATH=${STAGING_INCDIR}"

inherit cpan

FILES_${PN} = "${datadir}/perl5"