Makefile 911 B

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