void-packages/srcpkgs/abi-compliance-checker/template

24 lines
707 B
Bash

# Template file for 'abi-compliance-checker'
pkgname=abi-compliance-checker
version=2.3
revision=1
archs=noarch
hostmakedepends="perl"
depends="binutils ctags perl"
checkdepends="binutils ctags"
short_desc="A tool for checking backward API/ABI compat of a C/C++ library"
maintainer="Orphaned <orphan@voidlinux.org>"
license="LGPL-2.1-or-later"
homepage="https://github.com/lvc/abi-compliance-checker"
distfiles="https://github.com/lvc/abi-compliance-checker/archive/${version}.tar.gz"
checksum=b1e32a484211ec05d7f265ab4d2c1c52dcdb610708cb3f74d8aaeb7fe9685d64
do_check() {
perl abi-compliance-checker.pl -test
}
do_install() {
vmkdir usr
perl Makefile.pl -install --prefix=/usr --destdir="${DESTDIR}"
}