-
Notifications
You must be signed in to change notification settings - Fork 2.6k
Expand file tree
/
Copy pathtemplate
More file actions
45 lines (41 loc) · 1.15 KB
/
template
File metadata and controls
45 lines (41 loc) · 1.15 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
# Template file for 'libcppunit'
pkgname=libcppunit
version=1.15.1
revision=1
build_style=gnu-configure
hostmakedepends="pkg-config automake libtool"
short_desc="C++ unit testing framework"
maintainer="Enno Boland <[email protected]>"
license="LGPL-2.1-or-later"
# 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=89c5c6665337f56fd2db36bc3805a5619709d51fb136e51937072f63fcc717a7
replaces="cppunit>=0"
pre_configure() {
autoreconf -fi
}
post_install() {
find examples -type d -name .libs | xargs rm -rf
}
libcppunit-devel_package() {
replaces="cppunit-devel>=0"
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() {
replaces="cppunit-doc>=0"
depends="libcppunit-devel>=${version}_${revision}"
short_desc+=" - examples"
pkg_install() {
vmkdir usr/share/libcppunit
vcopy examples usr/share/libcppunit
}
}