summaryrefslogtreecommitdiff
path: root/package/libdaemon
diff options
context:
space:
mode:
authorWaldemar Brodkorb <wbx@openadk.org>2013-10-21 17:20:24 +0200
committerWaldemar Brodkorb <wbx@openadk.org>2013-10-21 17:20:24 +0200
commit90d5c8b73e8d538e121275b12e714332ca785cff (patch)
treeb70121e4732d658097d1db00c8af381629ec82eb /package/libdaemon
parent33dd541790614765228a71477e1f8b2b6aa21ce1 (diff)
automatically create development subpackages, without user interaction, depend on gcc for the target, simplifies a lot of library packages
Diffstat (limited to 'package/libdaemon')
-rw-r--r--package/libdaemon/Makefile5
1 files changed, 3 insertions, 2 deletions
diff --git a/package/libdaemon/Makefile b/package/libdaemon/Makefile
index 5002e5eac..e208a56f9 100644
--- a/package/libdaemon/Makefile
+++ b/package/libdaemon/Makefile
@@ -11,17 +11,18 @@ PKG_DESCR:= A lightweight C library that eases the writing of UNIX daemons
PKG_SECTION:= libs
PKG_URL:= http://0pointer.de/lennart/projects/libdaemon/
PKG_SITES:= http://0pointer.de/lennart/projects/libdaemon/
+PKG_OPTS:= dev
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,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
-post-install:
+libdaemon-install:
${INSTALL_DIR} ${IDIR_LIBDAEMON}/usr/lib
${CP} ${WRKINST}/usr/lib/libdaemon.so* ${IDIR_LIBDAEMON}/usr/lib