python3: update to 3.11.10
[openadk.git] / package / libdnet / Makefile
blob4e9d51f54cdf8106725614ffcec244a8af271df6
1 # This file is part of the OpenADK project. OpenADK is copyrighted
2 # material, please see the LICENCE file in the top-level directory.
4 include $(ADK_TOPDIR)/rules.mk
6 PKG_NAME:= libdnet
7 PKG_VERSION:= 1.11
8 PKG_RELEASE:= 3
9 PKG_HASH:= 0eb78415c8f2564c2f1e8ad36e98473348d9c94852f796a226360c716cc7ca53
10 PKG_DESCR:= low-level networking library
11 PKG_SECTION:= libs/net
12 PKG_URL:= http://libdnet.sourceforge.net/
13 PKG_SITES:= ${MASTER_SITE_SOURCEFORGE:=$(PKG_NAME)/}
14 PKG_OPTS:= dev
16 DISTFILES:= ${PKG_NAME}-${PKG_VERSION}.tar.gz
18 include $(ADK_TOPDIR)/mk/package.mk
20 $(eval $(call PKG_template,LIBDNET,libdnet,$(PKG_VERSION)-${PKG_RELEASE},${PKG_DEPENDS},${PKG_DESCR},${PKG_SECTION},${PKG_OPTS}))
22 AUTOTOOL_STYLE:= autoreconf
23 CONFIGURE_ENV+= ac_cv_dnet_bsd_bpf=no
24 CONFIGURE_ARGS+= --without-check
26 post-patch:
27 mv $(WRKBUILD)/config/acinclude.m4 $(WRKBUILD)
29 libdnet-install:
30 $(INSTALL_DIR) $(IDIR_LIBDNET)/usr/lib
31 $(CP) $(WRKINST)/usr/lib/libdnet.so* $(IDIR_LIBDNET)/usr/lib
33 include ${ADK_TOPDIR}/mk/pkg-bottom.mk