mirror of
https://gitlab.alpinelinux.org/alpine/aports.git
synced 2025-08-06 05:47:13 +02:00
testing/vera++: new aport
This commit is contained in:
parent
39b040c682
commit
84c989f731
32
testing/vera++/APKBUILD
Normal file
32
testing/vera++/APKBUILD
Normal file
@ -0,0 +1,32 @@
|
|||||||
|
# Contributor: André Klitzing <aklitzing@gmail.com>
|
||||||
|
# Maintainer: André Klitzing <aklitzing@gmail.com>
|
||||||
|
pkgname=vera++
|
||||||
|
pkgver=1.3.0
|
||||||
|
pkgrel=0
|
||||||
|
pkgdesc="A tool for verification, analysis and transformation of C++ source code"
|
||||||
|
url="https://bitbucket.org/verateam/vera/"
|
||||||
|
arch="all"
|
||||||
|
license="Boost"
|
||||||
|
makedepends="cmake boost-dev python2-dev tcl-dev"
|
||||||
|
source="https://bitbucket.org/verateam/vera/downloads/$pkgname-$pkgver.tar.gz
|
||||||
|
ruledump.patch" # see https://bitbucket.org/verateam/vera/issues/73/ruledump-test-fails-on-rhel7-when-built-in
|
||||||
|
builddir="$srcdir/$pkgname-$pkgver"
|
||||||
|
|
||||||
|
build() {
|
||||||
|
cd "$builddir"
|
||||||
|
cmake . -DCMAKE_INSTALL_PREFIX=/usr -DVERA_LUA=Off -DVERA_USE_SYSTEM_BOOST=On
|
||||||
|
make
|
||||||
|
}
|
||||||
|
|
||||||
|
check() {
|
||||||
|
cd "$builddir"
|
||||||
|
make test
|
||||||
|
}
|
||||||
|
|
||||||
|
package() {
|
||||||
|
cd "$builddir"
|
||||||
|
make DESTDIR="$pkgdir" install
|
||||||
|
}
|
||||||
|
|
||||||
|
sha512sums="4057deaa45439b4965aee9810ffa429e984fe201173ac87fa8cdc7c39f3f8dd258abf550433d4fb0c6751aaf26f564349587e191d2797e5b318a46f0b5fb5a9e vera++-1.3.0.tar.gz
|
||||||
|
bf51c7407343e89acb629853ada5715d70833ae1ac798c0b2322dc6f0ead9f30b988ee5ab0827d5f1d4d84caf8d219df02c2483eea2927c84e5a284a9ed4e053 ruledump.patch"
|
11
testing/vera++/ruledump.patch
Normal file
11
testing/vera++/ruledump.patch
Normal file
@ -0,0 +1,11 @@
|
|||||||
|
--- a/tests/CMakeLists.txt
|
||||||
|
+++ b/tests/CMakeLists.txt
|
||||||
|
@@ -596,7 +596,7 @@
|
||||||
|
|
||||||
|
3/0\tcppcomment\t// some stuff here
|
||||||
|
|
||||||
|
-4/0\tmsext_stdcall\t__stdcall
|
||||||
|
+4/0\tidentifier\t__stdcall
|
||||||
|
4/9\tnewline\t
|
||||||
|
|
||||||
|
5/0\trightbrace\t}
|
Loading…
Reference in New Issue
Block a user