Makefile 907 B

1234567891011121314151617181920212223242526272829303132
  1. # $Id$
  2. #-
  3. # This file is part of the OpenADK project. OpenADK is copyrighted
  4. # material, please see the LICENCE file in the top-level directory.
  5. include $(TOPDIR)/rules.mk
  6. PKG_NAME:= atftp
  7. PKG_VERSION:= 0.7
  8. PKG_RELEASE:= 2
  9. PKG_MD5SUM:= 3b27365772d918050b2251d98a9c7c82
  10. MASTER_SITES:= ftp://ftp.mamalinux.com/pub/atftp/
  11. include $(TOPDIR)/mk/package.mk
  12. $(eval $(call PKG_template,ATFTP,atftp,$(PKG_VERSION)-$(PKG_RELEASE)))
  13. $(eval $(call PKG_template,ATFTPD,atftpd,$(PKG_VERSION)-$(PKG_RELEASE)))
  14. MAKE_FLAGS+= CFLAGS="${TCFLAGS} -Wall -D_REENTRANT -fno-inline"
  15. CONFIGURE_STYLE= gnu
  16. BUILD_STYLE= auto
  17. INSTALL_STYLE= auto
  18. post-install:
  19. # atftp client
  20. $(INSTALL_DIR) $(IDIR_ATFTP)/usr/bin
  21. $(INSTALL_BIN) $(WRKBUILD)/atftp $(IDIR_ATFTP)/usr/bin
  22. # atftp server
  23. $(INSTALL_DIR) $(IDIR_ATFTPD)/usr/sbin
  24. $(INSTALL_BIN) $(WRKBUILD)/atftpd $(IDIR_ATFTPD)/usr/sbin
  25. include ${TOPDIR}/mk/pkg-bottom.mk