summaryrefslogtreecommitdiff
path: root/package/libdaemon/Makefile
blob: a5da27fe6da2951cd13fb8c759894ac58a9a5cb4 (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
31
# This file is part of the OpenADK project. OpenADK is copyrighted
# material, please see the LICENCE file in the top-level directory.

include ${ADK_TOPDIR}/rules.mk

PKG_NAME:=		libdaemon
PKG_VERSION:=		0.14
PKG_RELEASE:=		1
PKG_HASH:=		fd23eb5f6f986dcc7e708307355ba3289abe03cc381fc47a80bca4a50aa6b834
PKG_DESCR:=		library that eases the writing of daemons
PKG_SECTION:=		libs/misc
PKG_URL:=		http://0pointer.de/lennart/projects/libdaemon/
PKG_SITES:=		http://0pointer.de/lennart/projects/libdaemon/
PKG_OPTS:=		dev

DISTFILES:=		${PKG_NAME}-${PKG_VERSION}.tar.gz

include ${ADK_TOPDIR}/mk/package.mk

$(eval $(call PKG_template,LIBDAEMON,libdaemon,${PKG_VERSION}-${PKG_RELEASE},${PKG_DEPENDS},${PKG_DESCR},${PKG_SECTION},${PKG_OPTS}))

# uClibc setpgrp does not take arguments
CONFIGURE_ENV+=		ac_cv_func_setpgrp_void=yes
CONFIGURE_ARGS+=	--disable-lynx \
			--disable-examples

libdaemon-install:
	${INSTALL_DIR} ${IDIR_LIBDAEMON}/usr/lib
	${CP} ${WRKINST}/usr/lib/libdaemon.so* ${IDIR_LIBDAEMON}/usr/lib

include ${ADK_TOPDIR}/mk/pkg-bottom.mk