aboutsummaryrefslogtreecommitdiffstats
path: root/main/abi-compliance-checker/APKBUILD
blob: 1f18c140c11a299cb4164f82108a744a6e080004 (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: Fabian Affolter <fabian@affolter-engineering.ch>
# Maintainer: Fabian Affolter <fabian@affolter-engineering.ch>
pkgname=abi-compliance-checker
pkgver=1.99.8.5
pkgrel=0
pkgdesc="A tool for checking backward compatibility of a C/C++ library"
url="https://github.com/lvc/abi-compliance-checker"
arch="noarch"
license="LGPL2+"
depends="perl build-base"
depends_dev=""
makedepends="$depends_dev perl-dev"
install=""
subpackages=""
source="$pkgname-$pkgver.tar.gz::https://github.com/lvc/abi-compliance-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="7bd4469e56afa5ec43b94a1d0104a8fe  abi-compliance-checker-1.99.8.5.tar.gz"
sha256sums="226ec1c745514a85a98da34cb6b0f3340c929163e6ba7d73f69bca731edd8ecb  abi-compliance-checker-1.99.8.5.tar.gz"
sha512sums="56d0ad3bbc32cd6eb4b5c4e5c7442d161eabab4be67c435b7b3d39d28293243055196f9e08e6e7a2081d851e2a6c7ef76f805803651f83193f9789bca271c8f4  abi-compliance-checker-1.99.8.5.tar.gz"