aboutsummaryrefslogtreecommitdiffstats
path: root/main/eventlog/APKBUILD
diff options
context:
space:
mode:
authorBartłomiej Piotrowski <b@bpiotrowski.pl>2015-04-30 12:03:40 +0200
committerBartłomiej Piotrowski <b@bpiotrowski.pl>2015-04-30 12:04:56 +0200
commitdf447ed883fa8de3f0922581787fd845ece0bb8f (patch)
treeb203464fa7b58acab38fe67f1424b0cbaff7cc57 /main/eventlog/APKBUILD
parent3763b0bbc90d495def7867762e33abb17d846026 (diff)
downloadaports-df447ed883fa8de3f0922581787fd845ece0bb8f.tar.bz2
aports-df447ed883fa8de3f0922581787fd845ece0bb8f.tar.xz
main/eventlog: new aport
Diffstat (limited to 'main/eventlog/APKBUILD')
-rw-r--r--main/eventlog/APKBUILD33
1 files changed, 33 insertions, 0 deletions
diff --git a/main/eventlog/APKBUILD b/main/eventlog/APKBUILD
new file mode 100644
index 0000000000..389d8049bc
--- /dev/null
+++ b/main/eventlog/APKBUILD
@@ -0,0 +1,33 @@
+# Maintainer:
+# Contributor: Bartłomiej Piotrowski <bpiotrowski@alpinelinux.org>
+
+pkgname=eventlog
+pkgver=0.2.12
+pkgrel=0
+pkgdesc='API to format and send structured log messages'
+arch='all'
+url='http://www.balabit.com/support/community/products/'
+license='BSD'
+depends=
+makedepends=
+subpackages="$pkgname-dev"
+source="http://www.balabit.com/downloads/files/${pkgname}/${pkgver%.*}/${pkgname}_${pkgver}.tar.gz"
+
+_builddir="$srcdir/$pkgname-$pkgver"
+
+build() {
+ cd "${_builddir}"
+ ./configure --prefix=/usr --sysconfdir=/etc --localstatedir=/var || return 1
+ make || return 1
+}
+
+package() {
+ cd "${_builddir}"
+ make DESTDIR="${pkgdir}" install || return 1
+ install -Dm644 COPYING "${pkgdir}"/usr/share/licenses/${pkgname}/LICENSE \
+ || return 1
+}
+
+md5sums="3d6ebda8a161d36cb40d09328f78786b eventlog_0.2.12.tar.gz"
+sha256sums="494dac8e01dc5ce323df2ad554d94874938dab51aa025987677b2bc6906a9c66 eventlog_0.2.12.tar.gz"
+sha512sums="a681ab2961f5bf38e106a5b0b4492e74098808e2bf1a100f545736902649c705db124c0847796a47485faa8b0befe691a789d752f313c5b65ad50ed2763d2cce eventlog_0.2.12.tar.gz"