aboutsummaryrefslogtreecommitdiffstats
path: root/testing/cvechecker/APKBUILD
blob: 36752a9a68a5fe7cdae1cae93f23cc1b246a0206 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
# Contributor: Francesco Colista <francesco.colista@gmail.com>
# Maintainer: Francesco Colista <francesco.colista@gmail.com>
pkgname=cvechecker
pkgver=3.1
pkgrel=0
pkgdesc="A local CVE checker tool"
url="http://cvechecker.sourceforge.net/"
arch="all"
license="GPL"
depends=""
depends_dev="libconfig-dev argp-standalone 
 mysql-dev sqlite-dev openssl-dev libcrypto1.0"
makedepends="$depends_dev"
install=""
subpackages="$pkgname-doc"
source="http://sourceforge.net/projects/cvechecker/files/$pkgname-$pkgver.tar.gz"
_builddir="$srcdir"/$pkgname-$pkgver
build() {
	cd "$_builddir"
	export LIBS="-largp"
	./configure --prefix=/usr \
		--sysconfdir=/etc \
		--enable-sqlite3 \
		--enable-mysql 
	make || return 1
}
package() {
	cd "$_builddir"
	make DESTDIR="$pkgdir" install
}
md5sums="d49e7322703045d32e741ed172be5e69  cvechecker-3.1.tar.gz"