aboutsummaryrefslogblamecommitdiffstats
path: root/main/api-sanity-checker/APKBUILD
blob: 8479b58e6e837a0b4b0cd63824b904f263b788e4 (plain) (tree)
1
2
3
4
5
6
7
8
9


                                                         
             
        
                                                                             

                                                               
                

                         
                                                          

              
                                                                                                  
 
                                      









                                                                        




                       





                                                                               


                                                                                                                                                                               
# Contributor: William Pitcock <nenolod@dereferenced.org>
# Maintainer: William Pitcock <nenolod@dereferenced.org>
pkgname=api-sanity-checker
pkgver=1.98.7
pkgrel=0
pkgdesc="A 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="LGPL2+"
depends="perl build-base"
depends_dev=""
makedepends="$depends_dev perl-dev abi-compliance-checker"
install=""
subpackages=""
source="$pkgname-$pkgver.tar.gz::https://github.com/lvc/api-sanity-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="420383daff6d30a5daecb8374b79b694  api-sanity-checker-1.98.7.tar.gz"
sha256sums="3c324fc1af24398ea2347d4e7265b2d58daa787c9d4d12dcac5908068ee152e4  api-sanity-checker-1.98.7.tar.gz"
sha512sums="fe88fa7c31b4914cc234efb5568b29a1dc0f21abf6cea7f3354b03e232c8ce205a7b86abc7613334cec60510154a75357363d7a6fc504a153f16a4ed2d59e019  api-sanity-checker-1.98.7.tar.gz"