diff options
-rw-r--r-- | user/cve-check-tool/APKBUILD | 43 |
1 files changed, 43 insertions, 0 deletions
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 <maxcrees@me.com> +# Maintainer: Max Rees <maxcrees@me.com> +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" |