Makefile 864 B

123456789101112131415161718192021222324252627282930
  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:= rsync
  5. PKG_VERSION:= 3.0.9
  6. PKG_RELEASE:= 2
  7. PKG_MD5SUM:= 5ee72266fe2c1822333c407e1761b92b
  8. PKG_DESCR:= utility that provides fast incremental file transfer
  9. PKG_SECTION:= net/misc
  10. PKG_DEPENDS:= libpopt
  11. PKG_BUILDDEP:= popt
  12. PKG_URL:= http://rsync.samba.org/
  13. PKG_SITES:= http://rsync.samba.org/ftp/rsync/
  14. include ${TOPDIR}/mk/package.mk
  15. $(eval $(call PKG_template,RSYNC,rsync,${PKG_VERSION}-${PKG_RELEASE},${PKG_DEPENDS},${PKG_DESCR},${PKG_SECTION}))
  16. ifeq ($(ADK_STATIC),y)
  17. TARGET_CFLAGS+= -static
  18. TARGET_LDFLAGS+= -static
  19. endif
  20. rsync-install:
  21. ${INSTALL_DIR} ${IDIR_RSYNC}/usr/bin
  22. ${INSTALL_BIN} ${WRKINST}/usr/bin/rsync ${IDIR_RSYNC}/usr/bin
  23. include ${TOPDIR}/mk/pkg-bottom.mk