aboutsummaryrefslogtreecommitdiffstats
path: root/main/api-sanity-checker/APKBUILD
blob: 140dd0f8c386e290532f2a8768f46febb93ac38b (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
# Contributor: William Pitcock <nenolod@dereferenced.org>
# Maintainer: William Pitcock <nenolod@dereferenced.org>
pkgname=api-sanity-checker
pkgver=1.12.10
pkgrel=0
pkgdesc="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="GPL"
depends="perl build-base"
depends_dev=""
makedepends="$depends_dev"
install=""
subpackages=""
source="https://github.com/downloads/lvc/api-sanity-checker/api-sanity-checker-1.12.10.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
}

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

md5sums="b59e573c42a7e7398203b9323889bdb5  api-sanity-checker-1.12.10.tar.gz"