summaryrefslogtreecommitdiffstats
path: root/main/api-sanity-checker/APKBUILD
blob: 30da07515d96385f0dedcd146f56257c4318c590 (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: William Pitcock <nenolod@dereferenced.org>
# Maintainer: William Pitcock <nenolod@dereferenced.org>
pkgname=api-sanity-checker
pkgver=1.98.6
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="LGPL2+"
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="6bca8e90f73a14283a4a85b788d86197  api-sanity-checker-1.98.6.tar.gz"
sha256sums="5b6fb42d4006702da82f569efcd328fea78c48063c6f2b3d677ec15aabd233c9  api-sanity-checker-1.98.6.tar.gz"
sha512sums="fcb8c1a3d1c477c2824ffca62680036634393fac15a3e6bf153d2f3e77c105a423ae7c698fedabf0ef06372e85b5001903172aa27ff94bd0d69eb9dfed4a6568  api-sanity-checker-1.98.6.tar.gz"