123456789101112131415161718192021222324252627282930313233 |
- # This file is part of the OpenADK project. OpenADK is copyrighted
- # material, please see the LICENCE file in the top-level directory.
- include $(TOPDIR)/rules.mk
- PKG_NAME:= libdnet
- PKG_VERSION:= 1.11
- PKG_RELEASE:= 3
- PKG_MD5SUM:= 04c394ed8e1e7fc455456e79e908916d
- PKG_DESCR:= a low-level networking library
- PKG_SECTION:= libs
- PKG_BUILDDEP:= autotool
- PKG_URL:= http://libdnet.sourceforge.net/
- PKG_SITES:= ${MASTER_SITE_SOURCEFORGE:=$(PKG_NAME)/}
- PKG_OPTS:= dev
- include $(TOPDIR)/mk/package.mk
- $(eval $(call PKG_template,LIBDNET,libdnet,$(PKG_VERSION)-${PKG_RELEASE},${PKG_DEPENDS},${PKG_DESCR},${PKG_SECTION},${PKG_OPTS}))
- AUTOTOOL_STYLE:= autoreconf
- TARGET_CFLAGS:= $(filter-out -flto,$(TARGET_CFLAGS))
- CONFIGURE_ENV+= ac_cv_dnet_bsd_bpf=no
- CONFIGURE_ARGS+= --without-check
- post-patch:
- mv $(WRKBUILD)/config/acinclude.m4 $(WRKBUILD)
- libdnet-install:
- $(INSTALL_DIR) $(IDIR_LIBDNET)/usr/lib
- $(CP) $(WRKINST)/usr/lib/libdnet.so* $(IDIR_LIBDNET)/usr/lib
- include ${TOPDIR}/mk/pkg-bottom.mk
|