#!/bin/sh NAME="libdaemon" DESC="A lightweight C library which eases the writing of UNIX daemons" MAKEDEPS="" PKG_VER=0.14 SOURCE="https://dev.alpinelinux.org/archive/libdaemon/libdaemon-$PKG_VER.tar.gz" ADDITIONAL=" fix-includes.patch " prepare() { apply_patches } build() { ./configure \ --prefix=/usr \ --localstatedir=/var \ --disable-lynx make } package() { make DESTDIR="$PKG_DEST" install }