Makefile 921 B

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