aboutsummaryrefslogtreecommitdiffstats
path: root/main/eventlog/APKBUILD
blob: 0da530324f9ac553adedd328c9d4a99eaa7f9331 (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
# Maintainer:
# Contributor: Bartłomiej Piotrowski <bpiotrowski@alpinelinux.org>

pkgname=eventlog
pkgver=0.2.12
pkgrel=1
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="https://my.balabit.com/downloads/eventlog/${pkgver%.*}/eventlog_$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"