-
Notifications
You must be signed in to change notification settings - Fork 354
Expand file tree
/
Copy pathcppunit-1.14.0.recipe
More file actions
77 lines (66 loc) · 1.95 KB
/
cppunit-1.14.0.recipe
File metadata and controls
77 lines (66 loc) · 1.95 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
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
SUMMARY="C++ unit testing framework"
DESCRIPTION="CppUnit is a C++ unit testing framework. It started its life as \
a port of JUnit to C++ by Michael Feathers."
HOMEPAGE="https://www.freedesktop.org/wiki/Software/cppunit/"
COPYRIGHT="2000 Jerome Lacoste
2000 Michael Feathers
2000-2002 E. Sommerlade
2001-2013 Baptiste Lepilleur
2001 Bastiaan Bakker
2001-2002, 2007-2008 Steve Robbins
2012-2013 Harvey Brydon"
LICENSE="GNU LGPL v2.1"
REVISION="5"
SOURCE_URI="https://dev-www.libreoffice.org/src/cppunit-$portVersion.tar.gz"
CHECKSUM_SHA256="3d569869d27b48860210c758c4f313082103a5e58219a7669b52bfd29d674780"
ARCHITECTURES="all !x86_gcc2 ?x86"
SECONDARY_ARCHITECTURES="x86"
libVersion="0.0.0"
libVersionCompat="$libVersion compat >= ${libVersion%%.*}"
portVersionCompat="$portVersion compat >= ${portVersion%%.*}"
portVers="${portVersion%.*}"
PROVIDES="
cppunit$secondaryArchSuffix = $portVersion
cmd:DllPlugInTester$secondaryArchSuffix = $portVersionCompat
lib:libcppunit$secondaryArchSuffix = $libVersionCompat
lib:libcppunit_$portVers$secondaryArchSuffix = $libVersionCompat
"
REQUIRES="
haiku$secondaryArchSuffix
"
PROVIDES_devel="
cppunit${secondaryArchSuffix}_devel = $portVersion
devel:libcppunit$secondaryArchSuffix = $libVersionCompat
devel:libcppunit_$portVers$secondaryArchSuffix = $libVersionCompat
"
REQUIRES_devel="
cppunit$secondaryArchSuffix == $portVersion base
haiku${secondaryArchSuffix}_devel
"
BUILD_REQUIRES="
haiku${secondaryArchSuffix}_devel
"
BUILD_PREREQUIRES="
cmd:autoreconf
cmd:g++$secondaryArchSuffix
cmd:ld$secondaryArchSuffix
cmd:libtoolize$secondaryArchSuffix
cmd:make
cmd:sed
"
defineDebugInfoPackage cppunit$secondaryArchSuffix \
$libDir/libcppunit-$portVers.so.$libVersion
BUILD()
{
autoreconf -i
runConfigure ./configure --disable-static
make $jobArgs
}
INSTALL()
{
make install
rm $libDir/libcppunit.la
prepareInstalledDevelLibs libcppunit-$portVers libcppunit
fixPkgconfig
packageEntries devel $developDir
}