0
0
Fork 0
haikuports/app-benchmarks/ltp/ltp-20140422.recipe

55 lines
1.3 KiB
Bash

SUMMARY="A testsuite for the Linux kernel"
DESCRIPTION="The Linux Test Project is a joint project started by SGI, \
developed and maintained by IBM, Cisco, Fujitsu, SUSE, Red Hat and others, \
that has a goal to deliver test suites to the open source community that \
validate the reliability, robustness, and stability of Linux. The LTP \
testsuite contains a collection of tools for testing the Linux kernel and \
related features."
HOMEPAGE="http://linux-test-project.github.io/"
COPYRIGHT="2002-2004 Intel Corporation
2004 QUALCOMM Inc.
2004-2005 Bull S.A."
LICENSE="GNU GPL v2"
REVISION="2"
SOURCE_URI="https://github.com/linux-test-project/ltp/archive/20140422.tar.gz"
CHECKSUM_SHA256="b182fb1b2a34d582c67238525870a49d1659a4e253b0334a8e591d8a8cc6a189"
ARCHITECTURES="!x86_gcc2"
SECONDARY_ARCHITECTURES="x86"
PROVIDES="
ltp$secondaryArchSuffix = $portVersion
"
REQUIRES="
haiku$secondaryArchSuffix
"
BUILD_REQUIRES="
haiku${secondaryArchSuffix}_devel
"
BUILD_PREREQUIRES="
cmd:autoconf
cmd:automake
cmd:cc$secondaryArchSuffix
cmd:find
cmd:ld$secondaryArchSuffix
cmd:make
"
BUILD()
{
make autotools
runConfigure ./configure
make all $jobArgs CFLAGS="-DB_USE_POSITIVE_POSIX_ERRORS" CXXFLAGS="-DB_USE_POSITIVE_POSIX_ERRORS" LDFLAGS="-lposix_error_mapper"
}
INSTALL()
{
make install
}
TEST()
{
$prefix/ltp/runltp
}