1SUMMARY="Binary & source-level backwards compatibility checker"
2DESCRIPTION="ABI Compliance Checker (ACC) is a tool for checking backward \
3binary and source-level compatibility of a C/C++ library. The tool checks \
4header files and shared libraries of old and new versions and analyzes \
5changes in API and ABI (ABI=API+compiler ABI) that may break binary and/or \
6source compatibility."
7HOMEPAGE="https://lvc.github.io/abi-compliance-checker/"
8COPYRIGHT="2018 Andrey Ponomarenko's ABI Laboratory"
9LICENSE="GNU LGPL v2.1"
10REVISION="2"
11SOURCE_URI="https://github.com/lvc/abi-compliance-checker/archive/$portVersion.tar.gz"
12CHECKSUM_SHA256="b1e32a484211ec05d7f265ab4d2c1c52dcdb610708cb3f74d8aaeb7fe9685d64"
13SOURCE_DIR="abi-compliance-checker-$portVersion"
14PATCHES="abi_compliance_checker-$portVersion.patchset"
15#ADDITIONAL_FILES="example-descriptors"
16
17ARCHITECTURES="?all"
18
19PROVIDES="
20	abi_compliance_checker = $portVersion
21	cmd:abi_compliance_checker = $portVersion
22	"
23REQUIRES="
24	haiku
25	cmd:perl
26	"
27
28BUILD_REQUIRES="
29	haiku_devel
30	"
31BUILD_PREREQUIRES="
32	cmd:sed
33	cmd:gcc
34	cmd:make
35	cmd:perl
36	"
37
38BUILD()
39{
40	true
41}
42
43INSTALL()
44{
45	mkdir -p $prefix
46	make install prefix=$prefix
47
48	# not sure the examples are really uptodate
49	#cp -r $portDir/additional-files/example-descriptors \
50	#	$dataDir/abi-compliance-checker
51}
52