aboutsummaryrefslogtreecommitdiffstats
path: root/main/api-sanity-checker/APKBUILD
blob: b7f744a10e13408dfde5229eeb9ad217ca45cfad (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
# Contributor: 
# Maintainer: 
pkgname=api-sanity-checker
pkgver=1.98.7
pkgrel=0
pkgdesc="A tool for creating automated test suites from any set of C sources"
url="http://ispras.linuxbase.org/index.php/API_Sanity_Autotest"
arch="noarch"
license="LGPL-2.0-or-later"
depends="perl build-base"
depends_dev=""
makedepends="$depends_dev perl-dev abi-compliance-checker"
install=""
subpackages=""
source="$pkgname-$pkgver.tar.gz::https://github.com/lvc/api-sanity-checker/archive/$pkgver.tar.gz"

_builddir="${srcdir}"/$pkgname-$pkgver
prepare() {
	local i
	cd "$_builddir"
	for i in $source; do
		case $i in
		*.patch) msg $i; patch -p1 -i "$srcdir"/$i || return 1;;
		esac
	done
}

build() {
	cd "$_builddir"
	return 0
}

package() {
	cd "$_builddir"
	mkdir -p "$pkgdir"/usr
	perl Makefile.pl -install --prefix=/usr --destdir="$pkgdir" || return 1
}

md5sums="420383daff6d30a5daecb8374b79b694  api-sanity-checker-1.98.7.tar.gz"
sha256sums="3c324fc1af24398ea2347d4e7265b2d58daa787c9d4d12dcac5908068ee152e4  api-sanity-checker-1.98.7.tar.gz"
sha512sums="fe88fa7c31b4914cc234efb5568b29a1dc0f21abf6cea7f3354b03e232c8ce205a7b86abc7613334cec60510154a75357363d7a6fc504a153f16a4ed2d59e019  api-sanity-checker-1.98.7.tar.gz"