meta-ros/recipes-extended/libpoco/libpoco_1.4.6p1.bb

36 lines
963 B
BlitzBasic

DESCRIPTION = "POCO C++ Libraries"
HOMEPAGE = "http://pocoproject.org"
LICENSE = "BSL-1.0"
LIC_FILES_CHKSUM = "file://LICENSE;md5=e4224ccaecb14d942c71d31bef20d78c"
PR = "r1"
DEPENDS = "expat zlib libpcre openssl"
SRC_URI = "${SOURCEFORGE_MIRROR}/poco/poco-${PV}-all.tar.bz2 \
file://OE \
file://add_pcre_utf8_objects.patch"
SRC_URI[md5sum] = "2598b53d481e2bd3fb92bd23172abe53"
SRC_URI[sha256sum] = "95af0382257614c70841629c928184cddc228831a8bfc4c57399931bed8a16f8"
S = "${WORKDIR}/poco-${PV}-all"
inherit autotools binconfig pkgconfig
TARGET_CC_ARCH += "${LDFLAGS}"
EXTRA_OECONF += "--config=OE --no-samples --no-wstring --no-tests --unbundled \
--omit=Data/MySQL,Data/SQLite,Data/ODBC,PageCompiler \
"
EXTRA_OEMAKE += 'STRIP=""'
do_configure_prepend() {
install ${WORKDIR}/OE ${S}/build/config/OE
export POCO_TARGET_OSARCH=${TARGET_ARCH}
}
do_install_append () {
rmdir ${D}${bindir}
}