summaryrefslogtreecommitdiff
path: root/repo/libdaemon/libdaemon.xibuild
blob: 1a2b731fd4b20df29facc9d4de8ed937d836847d (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
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
}