Makefile 1013 B

1234567891011121314151617181920212223242526272829303132333435
  1. # $Id$
  2. #-
  3. # This file is part of the OpenADK project. OpenADK is copyrighted
  4. # material, please see the LICENCE file in the top-level directory.
  5. include ${TOPDIR}/rules.mk
  6. PKG_NAME:= miau
  7. PKG_VERSION:= 0.6.0.2
  8. PKG_RELEASE:= 6
  9. PKG_MD5SUM:= 1b78d219a03655399c165eeb021cddd8
  10. MASTER_SITES:= ${MASTER_SITE_SOURCEFORGE:=miau/}
  11. include ${TOPDIR}/mk/package.mk
  12. $(eval $(call PKG_template,MIAU,miau,${PKG_VERSION}-${PKG_RELEASE}))
  13. CONFIGURE_STYLE:= gnu
  14. CONFIGURE_ENV+= ac_cv_func_malloc_0_nonnull=yes \
  15. ac_cv_func_realloc_0_nonnull=yes
  16. CONFIGURE_ARGS+= --enable-automode \
  17. --enable-releasenick \
  18. --enable-uptime \
  19. --enable-privlog \
  20. --enable-onconnect
  21. INSTALL_STYLE:= auto
  22. post-install:
  23. ${INSTALL_DIR} ${IDIR_MIAU}/usr/bin
  24. ${INSTALL_DIR} ${IDIR_MIAU}/etc/{init.d,miau}
  25. ${INSTALL_BIN} ${WRKINST}/usr/bin/${PKG_NAME} ${IDIR_MIAU}/usr/bin/
  26. ${INSTALL_BIN} ./files/miau.init ${IDIR_MIAU}/etc/init.d/miau
  27. ${INSTALL_DATA} ./files/miaurc ${IDIR_MIAU}/etc/miau/
  28. include ${TOPDIR}/mk/pkg-bottom.mk