python3: update to 3.11.10
[openadk.git] / package / ipvsadm / Makefile
blob0e11989954fb035185eafbfdd82982ff6e16ebb3
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:= ipvsadm
7 PKG_VERSION:= 1.26
8 PKG_RELEASE:= 2
9 PKG_HASH:= 6d6c46fecb1c532a892616b4445c73b71730e8790d5630f60269fd9cbee0eb2d
10 PKG_DESCR:= ip virtual server admin utility
11 PKG_SECTION:= net/misc
12 PKG_DEPENDS:= libpopt
13 PKG_BUILDDEP:= popt
14 PKG_URL:= http://www.linuxvirtualserver.org/
15 PKG_SITES:= http://www.linuxvirtualserver.org/software/kernel-2.6/
16 PKG_NOPARALLEL:= 1
18 DISTFILES:= ${PKG_NAME}-${PKG_VERSION}.tar.gz
20 include $(ADK_TOPDIR)/mk/package.mk
22 TARGET_CFLAGS+= -I$(STAGING_TARGET_DIR)/usr/include/libnl3 -fPIC -DHAVE_NL=0
23 CONFIG_STYLE:= manual
24 XAKE_FLAGS+= HAVE_NL=0
26 $(eval $(call PKG_template,IPVSADM,ipvsadm,$(PKG_VERSION)-${PKG_RELEASE},${PKG_DEPENDS},${PKG_DESCR},${PKG_SECTION}))
28 ipvsadm-install:
29 $(INSTALL_DIR) $(IDIR_IPVSADM)/usr/sbin
30 $(INSTALL_DIR) $(IDIR_IPVSADM)/usr/lib
31 $(CP) $(WRKBUILD)/libipvs/libipvs.so \
32 $(IDIR_IPVSADM)/usr/lib
33 $(INSTALL_BIN) $(WRKINST)/sbin/ipvsadm \
34 $(IDIR_IPVSADM)/usr/sbin
36 include ${ADK_TOPDIR}/mk/pkg-bottom.mk