Makefile 1019 B

123456789101112131415161718192021222324252627282930313233
  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:= libdnet
  5. PKG_VERSION:= 1.11
  6. PKG_RELEASE:= 3
  7. PKG_HASH:= 0eb78415c8f2564c2f1e8ad36e98473348d9c94852f796a226360c716cc7ca53
  8. PKG_DESCR:= low-level networking library
  9. PKG_SECTION:= libs/net
  10. PKG_URL:= http://libdnet.sourceforge.net/
  11. PKG_SITES:= ${MASTER_SITE_SOURCEFORGE:=$(PKG_NAME)/}
  12. PKG_OPTS:= dev
  13. DISTFILES:= ${PKG_NAME}-${PKG_VERSION}.tar.gz
  14. include $(ADK_TOPDIR)/mk/package.mk
  15. $(eval $(call PKG_template,LIBDNET,libdnet,$(PKG_VERSION)-${PKG_RELEASE},${PKG_DEPENDS},${PKG_DESCR},${PKG_SECTION},${PKG_OPTS}))
  16. AUTOTOOL_STYLE:= autoreconf
  17. CONFIGURE_ENV+= ac_cv_dnet_bsd_bpf=no
  18. CONFIGURE_ARGS+= --without-check
  19. post-patch:
  20. mv $(WRKBUILD)/config/acinclude.m4 $(WRKBUILD)
  21. libdnet-install:
  22. $(INSTALL_DIR) $(IDIR_LIBDNET)/usr/lib
  23. $(CP) $(WRKINST)/usr/lib/libdnet.so* $(IDIR_LIBDNET)/usr/lib
  24. include ${ADK_TOPDIR}/mk/pkg-bottom.mk