aboutsummaryrefslogtreecommitdiffstats
path: root/testing/libeventlog/APKBUILD
diff options
context:
space:
mode:
authorBartłomiej Piotrowski <bpiotrowski@alpinelinux.org>2013-05-25 09:25:24 +0200
committerBartłomiej Piotrowski <bpiotrowski@alpinelinux.org>2013-05-25 09:28:03 +0200
commitf64bfe77a6bde014a88ea2840b3a54e2281ccbbb (patch)
tree5f016321d10377d3a3d4649ad10b8ed356f3abe4 /testing/libeventlog/APKBUILD
parent050e6930e1bca96fd31bb55471b3a6413b5264ff (diff)
downloadaports-f64bfe77a6bde014a88ea2840b3a54e2281ccbbb.tar.bz2
aports-f64bfe77a6bde014a88ea2840b3a54e2281ccbbb.tar.xz
testing/libeventlog: new aport
Diffstat (limited to 'testing/libeventlog/APKBUILD')
-rw-r--r--testing/libeventlog/APKBUILD38
1 files changed, 38 insertions, 0 deletions
diff --git a/testing/libeventlog/APKBUILD b/testing/libeventlog/APKBUILD
new file mode 100644
index 0000000000..6df7b53084
--- /dev/null
+++ b/testing/libeventlog/APKBUILD
@@ -0,0 +1,38 @@
+# Contributor: jv jens@eisfair.org
+# Maintainer: jv jens@eisfair.org
+pkgname=libeventlog
+pkgver=0.2.12
+pkgrel=0
+pkgdesc="Syslog event logger library"
+url="http://www.balabit.com"
+arch="all"
+license="BSD-3-clause"
+depends=""
+depends_dev=""
+makedepends="$depends_dev"
+install=""
+subpackages="$pkgname-dev"
+source="http://www.balabit.com/downloads/files?path=/syslog-ng/sources/3.3.9/source/eventlog_${pkgver}.tar.gz"
+
+_builddir="$srcdir/eventlog-$pkgver"
+
+prepare() {
+ cd "$_builddir"
+}
+
+build() {
+ cd "$_builddir"
+ ./configure --prefix=/usr || return 1
+ make || return 1
+}
+
+package() {
+ cd "$_builddir"
+ make -j1 DESTDIR="$pkgdir" install || return 1
+ rm -f ${pkgdir}/usr/lib/*.la
+ return 0
+}
+
+md5sums="7d95392a6618437a0404a3fadb49f53e eventlog_0.2.12.tar.gz"
+sha256sums="1733e21f5d7d8d09afd8a32934f2c90ea57d5f77b4ec10d9c5bb44e7da09eb05 eventlog_0.2.12.tar.gz"
+sha512sums="e9fc759295e0141a17e6b6fddf412711b4eaa2c565edaf459506e324849ceb41a7bf31a32c64fb9096e5181b6b14dcddd2755d46bd6238fc28a747c229780fd8 eventlog_0.2.12.tar.gz"