Makefile 1.1 KB

123456789101112131415161718192021222324252627282930313233343536
  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:= ipvsadm
  5. PKG_VERSION:= 1.26
  6. PKG_RELEASE:= 2
  7. PKG_MD5SUM:= eac3ba3f62cd4dea2da353aeddd353a8
  8. PKG_DESCR:= IPVS admin utility
  9. PKG_SECTION:= net
  10. PKG_DEPENDS:= libpopt
  11. PKG_BUILDDEP:= popt
  12. PKG_URL:= http://www.linuxvirtualserver.org/
  13. PKG_SITES:= http://www.linuxvirtualserver.org/software/kernel-2.6/
  14. PKG_NOPARALLEL:= 1
  15. DISTFILES:= ${PKG_NAME}-${PKG_VERSION}.tar.gz
  16. include $(TOPDIR)/mk/package.mk
  17. TARGET_CFLAGS+= -I$(STAGING_TARGET_DIR)/usr/include/libnl3 -fPIC -DHAVE_NL=0
  18. CONFIG_STYLE:= manual
  19. XAKE_FLAGS+= HAVE_NL=0
  20. $(eval $(call PKG_template,IPVSADM,ipvsadm,$(PKG_VERSION)-${PKG_RELEASE},${PKG_DEPENDS},${PKG_DESCR},${PKG_SECTION}))
  21. ipvsadm-install:
  22. $(INSTALL_DIR) $(IDIR_IPVSADM)/usr/sbin
  23. $(INSTALL_DIR) $(IDIR_IPVSADM)/usr/lib
  24. $(CP) $(WRKBUILD)/libipvs/libipvs.so \
  25. $(IDIR_IPVSADM)/usr/lib
  26. $(INSTALL_BIN) $(WRKINST)/sbin/ipvsadm \
  27. $(IDIR_IPVSADM)/usr/sbin
  28. include ${TOPDIR}/mk/pkg-bottom.mk