diff options
author | A. Wilcox <AWilcox@Wilcox-Tech.com> | 2018-02-05 16:49:06 -0600 |
---|---|---|
committer | William Pitcock <nenolod@dereferenced.org> | 2018-02-07 05:43:21 +0000 |
commit | c0e460e21580b9d99d6a9f8bca0a9dd91f0d2737 (patch) | |
tree | 652f836c3d35bbd24505a2b3d64999fb69233a26 /main/eventlog | |
parent | f4c24fea35aeb9b6936438b4808d51054c29bd32 (diff) | |
download | aports-c0e460e21580b9d99d6a9f8bca0a9dd91f0d2737.tar.bz2 aports-c0e460e21580b9d99d6a9f8bca0a9dd91f0d2737.tar.xz |
main/eventlog: modernise, add test suite
Diffstat (limited to 'main/eventlog')
-rw-r--r-- | main/eventlog/APKBUILD | 30 |
1 files changed, 17 insertions, 13 deletions
diff --git a/main/eventlog/APKBUILD b/main/eventlog/APKBUILD index af1943dc08..e297ab5182 100644 --- a/main/eventlog/APKBUILD +++ b/main/eventlog/APKBUILD @@ -3,11 +3,11 @@ pkgname=eventlog pkgver=0.2.12 -pkgrel=2 -pkgdesc='API to format and send structured log messages' -arch='all' -url='http://www.balabit.com/support/community/products/' -license='BSD' +pkgrel=3 +pkgdesc="API to format and send structured log messages" +arch="all" +url="http://www.balabit.com/support/community/products/" +license="BSD-3-Clause" depends= makedepends="automake autoconf libtool" subpackages="$pkgname-dev" @@ -17,20 +17,24 @@ builddir="$srcdir/$pkgname-$pkgver" build() { cd "$builddir" - autoreconf -vif || return 1 - ./configure --prefix=/usr \ + autoreconf -vif + ./configure \ + --prefix=/usr \ --sysconfdir=/etc \ - --localstatedir=/var || return 1 - make || return 1 + --localstatedir=/var + make +} + +check() { + cd "$builddir" + make check } package() { cd "$builddir" - make DESTDIR="${pkgdir}" install || return 1 + make DESTDIR="${pkgdir}" install install -Dm644 COPYING \ - "${pkgdir}"/usr/share/licenses/${pkgname}/LICENSE || return 1 + "${pkgdir}"/usr/share/licenses/${pkgname}/LICENSE } -md5sums="3d6ebda8a161d36cb40d09328f78786b eventlog_0.2.12.tar.gz" -sha256sums="494dac8e01dc5ce323df2ad554d94874938dab51aa025987677b2bc6906a9c66 eventlog_0.2.12.tar.gz" sha512sums="a681ab2961f5bf38e106a5b0b4492e74098808e2bf1a100f545736902649c705db124c0847796a47485faa8b0befe691a789d752f313c5b65ad50ed2763d2cce eventlog_0.2.12.tar.gz" |