wok-next view libdaemon/receipt @ rev 20461
Respect "install" phase (src -> install). Cook will fail if install dir empty (and it's by design).
author | Aleksej Bobylev <al.bobylev@gmail.com> |
---|---|
date | Sun Mar 04 04:56:40 2018 +0200 (2018-03-04) |
parents | |
children | 0ec6086e21d6 |
line source
1 # SliTaz package receipt v2.
3 PACKAGE="libdaemon"
4 VERSION="0.14"
5 CATEGORY="system-tools"
6 SHORT_DESC="Lightweight C library that eases the writing of UNIX daemons"
7 MAINTAINER="al.bobylev@gmail.com"
8 LICENSE="LGPL2.1"
9 WEB_SITE="http://0pointer.de/lennart/projects/libdaemon/"
10 LFS="http://www.linuxfromscratch.org/blfs/view/stable/general/libdaemon.html"
12 TARBALL="$PACKAGE-$VERSION.tar.gz"
13 WGET_URL="http://0pointer.de/lennart/projects/libdaemon/$TARBALL"
15 SPLIT="libdaemon-dev"
17 compile_rules() {
18 ./configure \
19 --disable-static \
20 $CONFIGURE_ARGS &&
21 make &&
22 make docdir=/usr/share/doc/$PACKAGE-$VERSION install
23 }
25 genpkg_rules() {
26 case $PACKAGE in
27 libdaemon) copy @std;;
28 *-dev) copy @dev;;
29 esac
30 }