blob: d01d0f5814dcf2ea8f9ba30080c450d1478d7f6f (
plain) (
blame)
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
31
32
33
34
35
|
# Contributor: A. Wilcox <awilfox@adelielinux.org>
# Maintainer: A. Wilcox <awilfox@adelielinux.org>
pkgname=libdaemon
pkgver=0.14
pkgrel=0
pkgdesc="Library for creating Unix daemons"
url="http://0pointer.de/lennart/projects/libdaemon/"
arch="all"
license="LGPL-2.1+"
depends=""
makedepends="doxygen lynx"
subpackages="$pkgname-dev $pkgname-doc"
source="http://0pointer.de/lennart/projects/libdaemon/libdaemon-$pkgver.tar.gz"
build() {
./configure \
--prefix=/usr \
--disable-static \
--disable-examples
make
make -C doc doxygen
}
check() {
make check
}
package() {
make DESTDIR="$pkgdir" install
mv doc/reference/man/man3/_*libdaemon_.3 doc/reference/man/man3/libdaemon.3
install -v -D -m644 doc/reference/html/* -t "$pkgdir"/usr/share/doc/libdaemon-0.14/reference/html/
install -v -D -m644 doc/reference/man/man3/* -t "$pkgdir"/usr/share/man/man3/
}
sha512sums="a96b25c09bd63cc192c1c5f8b5bf34cc6ad0c32d42ac14b520add611423b6ad3d64091a47e0c7ab9a94476a5e645529abccea3ed6b23596567163fba88131ff2 libdaemon-0.14.tar.gz"
|