From f1388a00bfc66d66f575e7070dd218c1342ef660 Mon Sep 17 00:00:00 2001 From: Carlo Landmeter Date: Tue, 9 Aug 2016 17:22:55 +0000 Subject: main/eventlog: need autoreconf to support aarch64 --- main/eventlog/APKBUILD | 21 ++++++++++++--------- 1 file changed, 12 insertions(+), 9 deletions(-) (limited to 'main/eventlog/APKBUILD') diff --git a/main/eventlog/APKBUILD b/main/eventlog/APKBUILD index 3913fec55d..790421b066 100644 --- a/main/eventlog/APKBUILD +++ b/main/eventlog/APKBUILD @@ -9,23 +9,26 @@ arch='all' url='http://www.balabit.com/support/community/products/' license='BSD' depends= -makedepends= +makedepends="automake autoconf libtool" subpackages="$pkgname-dev" source="https://my.balabit.com/downloads/eventlog/${pkgver%.*}/eventlog_$pkgver.tar.gz" -_builddir="$srcdir/$pkgname-$pkgver" +builddir="$srcdir/$pkgname-$pkgver" build() { - cd "${_builddir}" - ./configure --prefix=/usr --sysconfdir=/etc --localstatedir=/var || return 1 - make || return 1 + cd "$builddir" + autoreconf -vif || return 1 + ./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 + 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" -- cgit v1.2.3