41 lines
1 KiB
Bash
41 lines
1 KiB
Bash
# Template file for 'libcppunit'
|
|
pkgname=libcppunit
|
|
version=1.14.0
|
|
revision=1
|
|
build_style=gnu-configure
|
|
hostmakedepends="pkg-config automake libtool"
|
|
short_desc="C++ unit testing framework"
|
|
maintainer="Enno Boland <gottox@voidlinux.eu>"
|
|
license="LGPL-2.1"
|
|
# Also see https://mmohrhard.wordpress.com/2017/05/01/cppunit-1-14-released/
|
|
homepage="http://cppunit.sourceforge.net"
|
|
distfiles="http://dev-www.libreoffice.org/src/cppunit-${version}.tar.gz"
|
|
checksum=3d569869d27b48860210c758c4f313082103a5e58219a7669b52bfd29d674780
|
|
wrksrc="cppunit-$version"
|
|
|
|
LDFLAGS="-dl"
|
|
|
|
pre_configure() {
|
|
autoreconf -fi
|
|
}
|
|
|
|
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/DllPlugInTester
|
|
}
|
|
}
|
|
|
|
libcppunit-examples_package() {
|
|
depends="libcppunit-devel>=${version}_${revision}"
|
|
short_desc+=" - examples"
|
|
pkg_install() {
|
|
vmkdir usr/share/libcppunit
|
|
vcopy examples usr/share/libcppunit
|
|
}
|
|
}
|