diff options
author | Fabian Affolter <fabian@affolter-engineering.ch> | 2013-10-30 13:11:17 +0000 |
---|---|---|
committer | Natanael Copa <ncopa@alpinelinux.org> | 2013-10-31 12:07:13 +0000 |
commit | c0c614a1f74fe0d55613a824e12cc3756b22da73 (patch) | |
tree | ec8745f208d3961e98d6b18542610c37d2b85abe /main | |
parent | 93aeb91f924e00fcbf064ed910c336810f916983 (diff) | |
download | aports-c0c614a1f74fe0d55613a824e12cc3756b22da73.tar.bz2 aports-c0c614a1f74fe0d55613a824e12cc3756b22da73.tar.xz |
main/abi-compliance-checker: new aport (needed for api-sanity-checker)
A tool for checking backward compatibility of a C/C++ library
https://github.com/lvc/abi-compliance-checker
Diffstat (limited to 'main')
-rw-r--r-- | main/abi-compliance-checker/APKBUILD | 41 |
1 files changed, 41 insertions, 0 deletions
diff --git a/main/abi-compliance-checker/APKBUILD b/main/abi-compliance-checker/APKBUILD new file mode 100644 index 0000000000..1f18c140c1 --- /dev/null +++ b/main/abi-compliance-checker/APKBUILD @@ -0,0 +1,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" |