From f29d569cd33a73da5ad675f43a34ad53c5cc9bc6 Mon Sep 17 00:00:00 2001 From: davidovski Date: Thu, 2 Feb 2023 14:10:02 +0000 Subject: Work --- repo/libdaemon/libdaemon.xibuild | 30 ++++++++++++++++++++++++++++++ 1 file changed, 30 insertions(+) create mode 100644 repo/libdaemon/libdaemon.xibuild (limited to 'repo/libdaemon/libdaemon.xibuild') diff --git a/repo/libdaemon/libdaemon.xibuild b/repo/libdaemon/libdaemon.xibuild new file mode 100644 index 0000000..1a2b731 --- /dev/null +++ b/repo/libdaemon/libdaemon.xibuild @@ -0,0 +1,30 @@ +#!/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 +} + -- cgit v1.2.1