void-packages/srcpkgs/libcppunit/template
2017-07-15 20:53:12 +00:00

33 lines
861 B
Bash

# Template file for 'libcppunit'
pkgname=libcppunit
version=1.12.1
revision=3
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"
homepage="http://cppunit.sourceforge.net"
distfiles="${SOURCEFORGE_SITE}/cppunit/cppunit/${version}/cppunit-$version.tar.gz"
checksum=ac28a04c8e6c9217d910b0ae7122832d28d9917fa668bcc9e0b8b09acb4ea44a
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/cppunit-config
vmove /usr/share/man/man1/cppunit-config.1
vmove usr/share/aclocal
}
}