aboutsummaryrefslogtreecommitdiffstats
path: root/main/cvechecker/APKBUILD
diff options
context:
space:
mode:
authorNatanael Copa <ncopa@alpinelinux.org>2012-04-26 11:17:19 +0000
committerNatanael Copa <ncopa@alpinelinux.org>2012-04-26 11:18:53 +0000
commit4bb39e63de23ccd464f09a12bf1b3dc93e03769c (patch)
tree65b43ac3d2ea1be467afb83e205cf30addf8cebc /main/cvechecker/APKBUILD
parentd70f716bf35f30a4d814e3391f67b98ee420394f (diff)
downloadaports-4bb39e63de23ccd464f09a12bf1b3dc93e03769c.tar.bz2
aports-4bb39e63de23ccd464f09a12bf1b3dc93e03769c.tar.xz
main/cvechecker: move from testing
Diffstat (limited to 'main/cvechecker/APKBUILD')
-rw-r--r--main/cvechecker/APKBUILD34
1 files changed, 34 insertions, 0 deletions
diff --git a/main/cvechecker/APKBUILD b/main/cvechecker/APKBUILD
new file mode 100644
index 0000000000..898b8d965e
--- /dev/null
+++ b/main/cvechecker/APKBUILD
@@ -0,0 +1,34 @@
+# Contributor: Francesco Colista <francesco.colista@gmail.com>
+# Maintainer: Francesco Colista <francesco.colista@gmail.com>
+pkgname=cvechecker
+pkgver=3.1
+pkgrel=2
+pkgdesc="A local CVE checker tool"
+url="http://cvechecker.sourceforge.net/"
+arch="all"
+license="GPL"
+depends="wget"
+depends_dev="libconfig-dev argp-standalone
+ mysql-dev sqlite-dev openssl-dev libcrypto1.0 libxslt"
+makedepends="$depends_dev"
+install="$pkgname.post-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/cvechecker \
+ --localstatedir=/var \
+ --enable-sqlite3 \
+ --enable-mysql
+ make || return 1
+}
+package() {
+ cd "$_builddir"
+ make DESTDIR="$pkgdir" install
+ chgrp -R cvechecker "$pkgdir"/var/cvechecker/* &>/dev/null
+ chmod -R g+w "$pkgdir"/var/cvechecker &>/dev/null
+}
+md5sums="d49e7322703045d32e741ed172be5e69 cvechecker-3.1.tar.gz"