1
0

Makefile 957 B

1234567891011121314151617181920212223242526272829303132333435363738
  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:= net-tools
  5. PKG_VERSION:= 1.60
  6. PKG_RELEASE:= 2
  7. PKG_MD5SUM:= 888774accab40217dde927e21979c165
  8. PKG_DESCR:= Linux net-tools
  9. PKG_SECTION:= net
  10. PKG_URL:= http://net-tools.sourceforge.net/
  11. PKG_SITES:= ${MASTER_SITE_SOURCEFORGE:=net-tools/}
  12. PKG_NOPARALLEL:= 1
  13. PKG_SUBPKGS:= ARP
  14. DISTFILES:= ${PKG_NAME}-${PKG_VERSION}.tar.bz2
  15. include $(TOPDIR)/mk/package.mk
  16. $(eval $(call PKG_template,ARP,arp,$(PKG_VERSION)-${PKG_RELEASE},${PKG_DEPENDS},${PKG_DESCR},${PKG_SECTION}))
  17. CONFIG_STYLE:= manual
  18. INSTALL_STYLE:= manual
  19. ifeq ($(ADK_TOOLCHAIN_USE_SSP),y)
  20. TARGET_LDFLAGS+= -lssp
  21. endif
  22. do-configure:
  23. $(CP) ./files/config.* $(WRKBUILD)/
  24. arp-install:
  25. $(INSTALL_DIR) $(IDIR_ARP)/sbin
  26. $(INSTALL_BIN) $(WRKBUILD)/arp \
  27. $(IDIR_ARP)/sbin
  28. include ${TOPDIR}/mk/pkg-bottom.mk