Makefile 1.0 KB

12345678910111213141516171819202122232425262728293031
  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 ${ADK_TOPDIR}/rules.mk
  4. PKG_NAME:= libdaemon
  5. PKG_VERSION:= 0.14
  6. PKG_RELEASE:= 1
  7. PKG_HASH:= fd23eb5f6f986dcc7e708307355ba3289abe03cc381fc47a80bca4a50aa6b834
  8. PKG_DESCR:= library that eases the writing of daemons
  9. PKG_SECTION:= libs/misc
  10. PKG_URL:= http://0pointer.de/lennart/projects/libdaemon/
  11. PKG_SITES:= http://0pointer.de/lennart/projects/libdaemon/
  12. PKG_OPTS:= dev
  13. DISTFILES:= ${PKG_NAME}-${PKG_VERSION}.tar.gz
  14. include ${ADK_TOPDIR}/mk/package.mk
  15. $(eval $(call PKG_template,LIBDAEMON,libdaemon,${PKG_VERSION}-${PKG_RELEASE},${PKG_DEPENDS},${PKG_DESCR},${PKG_SECTION},${PKG_OPTS}))
  16. # uClibc setpgrp does not take arguments
  17. CONFIGURE_ENV+= ac_cv_func_setpgrp_void=yes
  18. CONFIGURE_ARGS+= --disable-lynx \
  19. --disable-examples
  20. libdaemon-install:
  21. ${INSTALL_DIR} ${IDIR_LIBDAEMON}/usr/lib
  22. ${CP} ${WRKINST}/usr/lib/libdaemon.so* ${IDIR_LIBDAEMON}/usr/lib
  23. include ${ADK_TOPDIR}/mk/pkg-bottom.mk