aboutsummaryrefslogtreecommitdiffstats
path: root/main/abi-compliance-checker/APKBUILD
blob: e52b64d1d9b63cba58ec545172b8086c28144bb6 (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.9
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="a9163668236cae5e33c606f51c7f8173  abi-compliance-checker-1.99.9.tar.gz"
sha256sums="52b0daca89fcda73cde126497c8015ca823417074ba02fcff68b7acf2f45e516  abi-compliance-checker-1.99.9.tar.gz"
sha512sums="bf3530463a93ed453c9479fa2907e8e68d34949e71bb552fabc43b37f7fa562a49339adc86de09596a13ccd5586bfc5fcb5df1d03ffa04020d9ac3622025b2be  abi-compliance-checker-1.99.9.tar.gz"