summaryrefslogtreecommitdiff
path: root/package/libdaemon
diff options
context:
space:
mode:
Diffstat (limited to 'package/libdaemon')
-rw-r--r--package/libdaemon/Config.in19
-rw-r--r--package/libdaemon/Makefile8
2 files changed, 3 insertions, 24 deletions
diff --git a/package/libdaemon/Config.in b/package/libdaemon/Config.in
deleted file mode 100644
index e19d50ef9..000000000
--- a/package/libdaemon/Config.in
+++ /dev/null
@@ -1,19 +0,0 @@
-config ADK_PACKAGE_LIBDAEMON
- prompt "libdaemon......................... A lightweight C library that eases the writing of UNIX daemons"
- tristate
- default n
- help
- libdaemon is a lightweight C library that eases the writing of UNIX daemons.
- It consists of the following parts:
-
- * A wrapper around fork() which does the correct daemonization procedure of a process
- * A wrapper around syslog() for simpler and compatible log output to Syslog or STDERR
- * An API for writing PID files
- * An API for serializing UNIX signals into a pipe for usage with select() or poll()
- * An API for running subprocesses with STDOUT and STDERR redirected to syslog.
-
- APIs like these are used in most daemon software available. It is not that
- simple to get it done right and code duplication is not a goal.
-
- http://0pointer.de/lennart/projects/libdaemon/
-
diff --git a/package/libdaemon/Makefile b/package/libdaemon/Makefile
index 587a76ef4..59df1fed9 100644
--- a/package/libdaemon/Makefile
+++ b/package/libdaemon/Makefile
@@ -14,16 +14,14 @@ PKG_SITES:= http://0pointer.de/lennart/projects/libdaemon/
include ${TOPDIR}/mk/package.mk
-$(eval $(call PKG_template,LIBDAEMON,libdaemon,${PKG_VERSION}-${PKG_RELEASE},${PKG_DEPENDS},${PKG_DESCR},${PKG_SECTION}))
+$(eval $(call PKG_template,LIBDAEMON,${PKG_NAME},${PKG_VERSION}-${PKG_RELEASE},${PKG_DEPENDS},${PKG_DESCR},${PKG_SECTION}))
-CONFIGURE_STYLE= gnu
+# uClibc setpgrp does not take arguments
CONFIGURE_ENV+= ac_cv_func_setpgrp_void=yes
CONFIGURE_ARGS+= --disable-lynx
-BUILD_STYLE= auto
-INSTALL_STYLE= auto confprog
post-install:
${INSTALL_DIR} ${IDIR_LIBDAEMON}/usr/lib
- ${CP} ${WRKINST}/usr/lib/libdaemon.so.* ${IDIR_LIBDAEMON}/usr/lib/
+ ${CP} ${WRKINST}/usr/lib/libdaemon.so* ${IDIR_LIBDAEMON}/usr/lib/
include ${TOPDIR}/mk/pkg-bottom.mk