mirror of
https://github.com/yann64/haikuports.git
synced 2026-04-10 13:50:08 +02:00
WIP CPPUNIT update (#528)
This commit is contained in:
69
dev-util/cppunit/cppunit-1.13.2.recipe
Normal file
69
dev-util/cppunit/cppunit-1.13.2.recipe
Normal file
@@ -0,0 +1,69 @@
|
||||
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="http://cppunit.sourceforge.net/"
|
||||
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="2"
|
||||
SOURCE_URI="http://dev-www.libreoffice.org/src/cppunit-1.13.2.tar.gz"
|
||||
CHECKSUM_SHA256="3f47d246e3346f2ba4d7c9e882db3ad9ebd3fcbd2e8b732f946e0e3eeb9f429f"
|
||||
|
||||
ARCHITECTURES="x86 x86_gcc2 x86_64"
|
||||
SECONDARY_ARCHITECTURES="x86"
|
||||
|
||||
PROVIDES="
|
||||
cppunit$secondaryArchSuffix = $portVersion
|
||||
cmd:cppunit_config$secondaryArchSuffix = $portVersion compat >= 1.13
|
||||
cmd:DllPlugInTester$secondaryArchSuffix = $portVersion compat >= 1.13
|
||||
lib:libcppunit$secondaryArchSuffix = $portVersion compat >= 1.13
|
||||
lib:libcppunit_1.13$secondaryArchSuffix = $portVersion compat >= 1.13
|
||||
"
|
||||
REQUIRES="
|
||||
haiku$secondaryArchSuffix
|
||||
"
|
||||
|
||||
PROVIDES_devel="
|
||||
cppunit${secondaryArchSuffix}_devel = $portVersion
|
||||
devel:libcppunit$secondaryArchSuffix = $portVersion compat >= 1.13
|
||||
"
|
||||
REQUIRES_devel="
|
||||
cppunit$secondaryArchSuffix == $portVersion base
|
||||
haiku${secondaryArchSuffix}_devel
|
||||
"
|
||||
|
||||
BUILD_REQUIRES="
|
||||
haiku${secondaryArchSuffix}_devel
|
||||
"
|
||||
BUILD_PREREQUIRES="
|
||||
cmd:libtoolize
|
||||
cmd:autoreconf
|
||||
cmd:g++$secondaryArchSuffix
|
||||
cmd:ld$secondaryArchSuffix
|
||||
cmd:make
|
||||
cmd:sed
|
||||
"
|
||||
|
||||
BUILD()
|
||||
{
|
||||
libtoolize --force --copy --install
|
||||
autoreconf -i
|
||||
runConfigure ./configure
|
||||
make $jobArgs
|
||||
}
|
||||
|
||||
INSTALL()
|
||||
{
|
||||
make install
|
||||
|
||||
prepareInstalledDevelLib libcppunit
|
||||
fixPkgconfig
|
||||
|
||||
packageEntries devel $developDir
|
||||
}
|
||||
Reference in New Issue
Block a user