aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--main/cvechecker/APKBUILD7
1 files changed, 4 insertions, 3 deletions
diff --git a/main/cvechecker/APKBUILD b/main/cvechecker/APKBUILD
index 61548efcfe..75021efe80 100644
--- a/main/cvechecker/APKBUILD
+++ b/main/cvechecker/APKBUILD
@@ -6,7 +6,7 @@ pkgrel=0
pkgdesc="A local CVE checker tool"
url="http://cvechecker.sourceforge.net/"
arch="all"
-license="GPL"
+license="GPL3"
depends="gawk wget libxslt"
depends_dev="libconfig-dev sqlite-dev openssl-dev mysql-dev"
[ "$ALPINE_LIBC" != "eglibc" ] && depends_dev="$depends_dev argp-standalone"
@@ -33,12 +33,13 @@ build() {
--sysconfdir=/etc \
--localstatedir=/var \
--enable-sqlite3 \
- --enable-mysql
+ --enable-mysql \
+ || return 1
make || return 1
}
package() {
cd "$_builddir"
- make DESTDIR="$pkgdir" install
+ make DESTDIR="$pkgdir" install || return 1
mkdir -p "$pkgdir"/var/cvechecker &>/dev/null
chgrp -R cvechecker "$pkgdir"/var/cvechecker/* &>/dev/null
chmod -R g+w "$pkgdir"/var/cvechecker &>/dev/null