Makefile 920 B

123456789101112131415161718192021222324252627
  1. # This file is part of the OpenADK project. OpenADK is copyrighted
  2. # material, please see the LICENCE file in the top-level directory.
  3. include ${TOPDIR}/rules.mk
  4. PKG_NAME:= libdaemon
  5. PKG_VERSION:= 0.13
  6. PKG_RELEASE:= 1
  7. PKG_MD5SUM:= ae9113fcd825d5a7f07e5ddccb3c3102
  8. PKG_DESCR:= A lightweight C library that eases the writing of UNIX daemons
  9. PKG_SECTION:= libs
  10. PKG_URL:= http://0pointer.de/lennart/projects/libdaemon
  11. PKG_SITES:= http://0pointer.de/lennart/projects/libdaemon/
  12. include ${TOPDIR}/mk/package.mk
  13. $(eval $(call PKG_template,LIBDAEMON,${PKG_NAME},${PKG_VERSION}-${PKG_RELEASE},${PKG_DEPENDS},${PKG_DESCR},${PKG_SECTION}))
  14. # uClibc setpgrp does not take arguments
  15. CONFIGURE_ENV+= ac_cv_func_setpgrp_void=yes
  16. CONFIGURE_ARGS+= --disable-lynx
  17. post-install:
  18. ${INSTALL_DIR} ${IDIR_LIBDAEMON}/usr/lib
  19. ${CP} ${WRKINST}/usr/lib/libdaemon.so* ${IDIR_LIBDAEMON}/usr/lib/
  20. include ${TOPDIR}/mk/pkg-bottom.mk