Makefile 1.0 KB

12345678910111213141516171819202122232425262728293031323334
  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 kmod-ip-vs
  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. include $(TOPDIR)/mk/package.mk
  16. TARGET_CFLAGS+= -I$(STAGING_TARGET_DIR)/usr/include/libnl3 -fPIC -DHAVE_NL=0
  17. CONFIG_STYLE:= manual
  18. XAKE_FLAGS+= HAVE_NL=0
  19. $(eval $(call PKG_template,IPVSADM,ipvsadm,$(PKG_VERSION)-${PKG_RELEASE},${PKG_DEPENDS},${PKG_DESCR},${PKG_SECTION}))
  20. ipvsadm-install:
  21. $(INSTALL_DIR) $(IDIR_IPVSADM)/usr/sbin
  22. $(INSTALL_DIR) $(IDIR_IPVSADM)/usr/lib
  23. $(CP) $(WRKBUILD)/libipvs/libipvs.so \
  24. $(IDIR_IPVSADM)/usr/lib
  25. $(INSTALL_BIN) $(WRKINST)/sbin/ipvsadm \
  26. $(IDIR_IPVSADM)/usr/sbin
  27. include ${TOPDIR}/mk/pkg-bottom.mk