Commit e437dc56 authored by Ariadne Conill's avatar Ariadne Conill

main/api-sanity-checker: new aport

parent a83bdb95
# Contributor: William Pitcock <nenolod@dereferenced.org>
# Maintainer: William Pitcock <nenolod@dereferenced.org>
pkgname=api-sanity-checker
pkgver=1.12.10
pkgrel=0
pkgdesc="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="GPL"
depends="perl build-base"
depends_dev=""
makedepends="$depends_dev"
install=""
subpackages=""
source="https://github.com/downloads/lvc/api-sanity-checker/api-sanity-checker-1.12.10.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
}
package() {
cd "$_builddir"
mkdir -p "$pkgdir"/usr
perl Makefile.pl -install --prefix=/usr --destdir="$pkgdir" || return 1
}
md5sums="b59e573c42a7e7398203b9323889bdb5 api-sanity-checker-1.12.10.tar.gz"
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment