Initial .bep file for abi-compliance-checker.

Included zooey's README and examples from the previous abi-compliance-checker OptionalPackage.
This commit is contained in:
Scott McCreary
2012-07-25 18:43:11 +00:00
parent d09552692a
commit e0a2b7eb99

View File

@@ -0,0 +1,34 @@
DESCRIPTION="tool for checking backward binary and source-level compatibility of a C/C++ library."
HOMEPAGE="ispras.linuxbase.org/index.php/ABI_compliance_checker"
SRC_URI="https://github.com/downloads/lvc/abi-compliance-checker/abi-compliance-checker-1.98.3.tar.gz"
REVISION="1"
STATUS_HAIKU="broken"
DEPEND=""
CHECKSUM_MD5="e2ca96bf71b014eefa11fe10a6f7d1f6"
BUILD {
cd abi-compliance-checker-1.98.3
sed -i 's/linux|freebsd|openbsd|netbsd/linux|freebsd|openbsd|netbsd|haiku/' Makefile.pl
sed -i 's/$PREFIX\/share\/$TOOL_SNAME/$PREFIX\/data\/$TOOL_SNAME/' Makefile.pl
sed -i 's/..\/share\/$TOOL_SNAME/..\/data\/$TOOL_SNAME/' Makefile.pl
}
INSTALL {
cd abi-compliance-checker-1.98.3
mkdir -p $DESTDIR/`finddir B_COMMON_DIRECTORY`/example-descriptors
perl Makefile.pl -install --prefix=`finddir B_COMMON_DIRECTORY` \
--destdir=$DESTDIR
cp -r `haikuporter -t`/dev-util/abi-compliance-checker/example-descriptors \
$DESTDIR/`finddir B_COMMON_DIRECTORY`/data/abi-compliance-checker
}
TEST {
cd abi-compliance-checker-1.98.3
# make test
# make check
}
LICENSE="GNU GPL v2"
COPYRIGHT="2009-2010 The Linux Foundation
2009-2011 Institute for System Programming, RAS
2011-2012 Nokia Corporation and/or its subsidiary(-ies)
2011-2012 ROSA Laboratory"