1
0

Makefile 1013 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 $(TOPDIR)/rules.mk
  4. PKG_NAME:= libdnet
  5. PKG_VERSION:= 1.11
  6. PKG_RELEASE:= 3
  7. PKG_MD5SUM:= 04c394ed8e1e7fc455456e79e908916d
  8. PKG_DESCR:= a low-level networking library
  9. PKG_SECTION:= libs
  10. PKG_BUILDDEP:= autotool
  11. PKG_URL:= http://libdnet.sourceforge.net/
  12. PKG_SITES:= ${MASTER_SITE_SOURCEFORGE:=$(PKG_NAME)/}
  13. PKG_OPTS:= dev
  14. include $(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. TARGET_CFLAGS:= $(filter-out -flto,$(TARGET_CFLAGS))
  18. CONFIGURE_ENV+= ac_cv_dnet_bsd_bpf=no
  19. CONFIGURE_ARGS+= --without-check
  20. post-patch:
  21. mv $(WRKBUILD)/config/acinclude.m4 $(WRKBUILD)
  22. libdnet-install:
  23. $(INSTALL_DIR) $(IDIR_LIBDNET)/usr/lib
  24. $(CP) $(WRKINST)/usr/lib/libdnet.so* $(IDIR_LIBDNET)/usr/lib
  25. include ${TOPDIR}/mk/pkg-bottom.mk