2014-04-04 02:46:29 +02:00
|
|
|
# Template file for 'libcppunit'
|
|
|
|
pkgname=libcppunit
|
|
|
|
version=1.12.1
|
2014-11-23 12:04:09 +01:00
|
|
|
revision=3
|
2014-04-04 02:46:29 +02:00
|
|
|
build_style=gnu-configure
|
2014-04-04 11:49:51 +02:00
|
|
|
hostmakedepends="pkg-config automake libtool"
|
2014-04-04 02:46:29 +02:00
|
|
|
short_desc="C++ unit testing framework"
|
2015-08-09 19:08:42 +02:00
|
|
|
maintainer="Enno Boland <gottox@voidlinux.eu>"
|
2014-04-04 02:46:29 +02:00
|
|
|
license="LGPL"
|
|
|
|
homepage="http://cppunit.sourceforge.net"
|
2015-01-25 22:37:45 +01:00
|
|
|
distfiles="${SOURCEFORGE_SITE}/cppunit/cppunit/${version}/cppunit-$version.tar.gz"
|
2014-04-04 02:46:29 +02:00
|
|
|
checksum=ac28a04c8e6c9217d910b0ae7122832d28d9917fa668bcc9e0b8b09acb4ea44a
|
|
|
|
wrksrc="cppunit-$version"
|
2014-11-23 12:04:09 +01:00
|
|
|
|
|
|
|
LDFLAGS="-dl"
|
2014-04-04 02:46:29 +02:00
|
|
|
|
|
|
|
pre_configure() {
|
2014-04-04 11:49:51 +02:00
|
|
|
autoreconf -fi
|
2014-04-04 02:46:29 +02:00
|
|
|
}
|
|
|
|
|
|
|
|
libcppunit-devel_package() {
|
|
|
|
depends="libcppunit>=${version}_${revision}"
|
|
|
|
short_desc+=" - development files"
|
|
|
|
pkg_install() {
|
|
|
|
vmove usr/include
|
|
|
|
vmove usr/lib/pkgconfig
|
|
|
|
vmove "usr/lib/*.a"
|
|
|
|
vmove "usr/lib/*.so"
|
|
|
|
vmove /usr/bin/cppunit-config
|
|
|
|
vmove /usr/share/man/man1/cppunit-config.1
|
2014-04-04 11:49:51 +02:00
|
|
|
vmove usr/share/aclocal
|
2014-04-04 02:46:29 +02:00
|
|
|
}
|
|
|
|
}
|