Makefile 841 B

123456789101112131415161718192021222324252627282930
  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:= libdnet
  7. PKG_VERSION:= 1.10
  8. PKG_RELEASE:= 1
  9. PKG_MD5SUM:= 416b765e9d9961501ac85e9a366fd219
  10. MASTER_SITES:= ${MASTER_SITE_SOURCEFORGE:=$(PKG_NAME)/}
  11. include $(TOPDIR)/mk/package.mk
  12. $(eval $(call PKG_template,LIBDNET,libdnet,$(PKG_VERSION)-$(PKG_RELEASE)))
  13. CONFIGURE_STYLE= gnu
  14. CONFIGURE_ENV+= ac_cv_dnet_bsd_bpf=no
  15. CONFIGURE_ARGS+= --without-check
  16. BUILD_STYLE= auto
  17. INSTALL_STYLE= auto
  18. post-install:
  19. $(INSTALL_DIR) $(IDIR_LIBDNET)/usr/lib
  20. $(INSTALL_DIR) $(IDIR_LIBDNET)/usr/sbin
  21. $(CP) $(WRKINST)/usr/lib/libdnet.so.* $(IDIR_LIBDNET)/usr/lib/
  22. $(INSTALL_BIN) $(WRKINST)/usr/sbin/dnet $(IDIR_LIBDNET)/usr/sbin/
  23. include ${TOPDIR}/mk/pkg-bottom.mk