From e2b4b8b49029eae198715b7ca065a9ca409a12d9 Mon Sep 17 00:00:00 2001 From: Max Rees Date: Wed, 24 Jul 2019 02:44:06 -0400 Subject: user/cve-check-tool: new package --- user/cve-check-tool/APKBUILD | 43 +++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 43 insertions(+) create mode 100644 user/cve-check-tool/APKBUILD (limited to 'user') diff --git a/user/cve-check-tool/APKBUILD b/user/cve-check-tool/APKBUILD new file mode 100644 index 000000000..b0c2db9ba --- /dev/null +++ b/user/cve-check-tool/APKBUILD @@ -0,0 +1,43 @@ +# Contributor: Max Rees +# Maintainer: Max Rees +pkgname=cve-check-tool +pkgver=5.6.4_p1 +_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="" +makedepends="bash curl-dev glib-dev gobject-introspection-dev + libxml2-dev openssl-dev sqlite-dev" +checkdepends="check-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="6af4778752c1c64c9a7c747f5a099ac83a42b9c92e273b315a386547144bfcdcd325dac9f17cfea16944442cdd20faf829ec401792ba67a34ec21fc65046dfac cve-check-tool-5.6.4+adelie1.tar.gz" -- cgit v1.2.3-70-g09d2