aboutsummaryrefslogtreecommitdiffstats
path: root/main/libeventlog/APKBUILD
blob: 8cb2750bdbedd7f7141335d2745061c6ce7c2f77 (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
32
33
34
35
36
37
# 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
    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"