summaryrefslogblamecommitdiff
path: root/user/cve-check-tool/APKBUILD
blob: 055d49fe28af08878378de79f3f1d1a4f17c6cb2 (plain) (tree)
1
2
3
4
5
6
7
8
9
10
11


                                         
               






                                                    
                        

                                                                               



























                                                                  
                                                                                                                                                                                  
# Contributor: Max Rees <maxcrees@me.com>
# Maintainer: Max Rees <maxcrees@me.com>
pkgname=cve-check-tool
pkgver=5.6.4_p2
_pkgver=${pkgver%_p*}+adelie${pkgver#*_p}
pkgrel=0
pkgdesc="Vulnerability checker for Linux packaging"
url="https://code.foxkit.us/sroracle/cve-check-tool"
arch="all"
license="GPL-2.0+"
depends=""
checkdepends="check-dev"
makedepends="autoconf automake bash curl-dev glib-dev gobject-introspection-dev
	jansson-dev libtool libxml2-dev openssl-dev sqlite-dev"
subpackages="$pkgname-doc"
source="https://dev.sick.bike/dist/cve-check-tool-$_pkgver.tar.gz"
builddir="$srcdir/$pkgname-$_pkgver"

prepare() {
	default_prepare
	autoreconf -vif
}

build() {
	./configure \
		--build=$CBUILD \
		--host=$CHOST \
		--prefix=/usr \
		--sysconfdir=/etc \
		--mandir=/usr/share/man \
		--localstatedir=/var
	make
}

check() {
	make -j1 check
}

package() {
	make DESTDIR="$pkgdir" install
}

sha512sums="ee3e8edde7a21a139a7ff9853959487d980e703dbd52c653dd88892ecb1770e52568cf37168c9069378141c159730aa9631dca0e72630e1b67bb8a3f3d835a0e  cve-check-tool-5.6.4+adelie2.tar.gz"