summaryrefslogtreecommitdiffstats
path: root/meta-oe/recipes-devtools/cppunit/cppunit_1.12.1.bb
blob: 6487a3a0746bb7d13f4e96cdc6b45d2c2f1fa6ed (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
DESCRIPTION = "CppUnit is a C++ unit testing framework"
LICENSE = "LGPLv2.1"
LIC_FILES_CHKSUM = "file://COPYING;md5=7fbc338309ac38fefcd64b04bb903e34"

SRC_URI = "${SOURCEFORGE_MIRROR}/cppunit/cppunit-${PV}.tar.gz"
SRC_URI[md5sum] = "bd30e9cf5523cdfc019b94f5e1d7fd19"
SRC_URI[sha256sum] = "ac28a04c8e6c9217d910b0ae7122832d28d9917fa668bcc9e0b8b09acb4ea44a"

inherit autotools binconfig

# Fix a linker ordering problem, we want -ldl *after* -lstdc++
do_configure_append() {
	for i in $(find ${S} -name "Makefile") ; do
		sed -i -e 's:-lm:-lm -ldl:g' $i
	done
}