aboutsummaryrefslogtreecommitdiffstats
path: root/main/abi-compliance-checker/APKBUILD
blob: 52eb5dca5e31cdc7d9e96b07bac98f952d693f97 (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.21
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="915fad69e1139dfd52762516e3821f87  abi-compliance-checker-1.99.21.tar.gz"
sha256sums="c9ca13a9a7a0285214f9a18195efae57a99465392fbf05fdc4a15fceada4dedf  abi-compliance-checker-1.99.21.tar.gz"
sha512sums="9c7038ed54581f409faba03b1164e56376ce752075a2dc131c5ba5501aced7a09d2638259e373a08eb4e4a40c9499308fd91771565173d825224aa52713fdbd4  abi-compliance-checker-1.99.21.tar.gz"