From 209c8363334d9c7bd7df4e34f923f08e55a46ec5 Mon Sep 17 00:00:00 2001 From: "A. Wilcox" Date: Fri, 8 Sep 2017 01:12:55 -0500 Subject: main/libdaemon: modernise, mark as having no tests --- main/libdaemon/APKBUILD | 29 ++++++++++++----------------- 1 file changed, 12 insertions(+), 17 deletions(-) (limited to 'main/libdaemon/APKBUILD') diff --git a/main/libdaemon/APKBUILD b/main/libdaemon/APKBUILD index 1f987b2659..480dc06d01 100644 --- a/main/libdaemon/APKBUILD +++ b/main/libdaemon/APKBUILD @@ -1,11 +1,12 @@ # Maintainer: Natanael Copa pkgname=libdaemon pkgver=0.14 -pkgrel=1 +pkgrel=2 pkgdesc="A lightweight C library which eases the writing of UNIX daemons" url="http://0pointer.de/lennart/projects/libdaemon/" arch="all" license="LGPL" +options="!check" # No test suite. depends="" makedepends="" subpackages="$pkgname-dev $pkgname-doc" @@ -13,32 +14,26 @@ source="http://dev.alpinelinux.org/archive/libdaemon/libdaemon-$pkgver.tar.gz fix-includes.patch " -_builddir="$srcdir"/$pkgname-$pkgver - prepare() { - cd "$_builddir" - update_config_sub || return 1 - for i in $source; do - case $i in - *.patch) msg $i; patch -p1 -i "$srcdir"/$i || return 1;; - esac - done + cd "$builddir" + update_config_sub + default_prepare } -build () { - cd "$_builddir" + +build() { + cd "$builddir" ./configure \ --build=$CBUILD \ --host=$CHOST \ --prefix=/usr \ --localstatedir=/var \ - --disable-lynx \ - || return 1 - make || return 1 + --disable-lynx + make } package() { - cd "$_builddir" - make DESTDIR="$pkgdir" install || return 1 + cd "$builddir" + make DESTDIR="$pkgdir" install } md5sums="509dc27107c21bcd9fbf2f95f5669563 libdaemon-0.14.tar.gz -- cgit v1.2.3