Makefile 912 B

1234567891011121314151617181920212223242526272829303132
  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. DISTFILES:= ${PKG_NAME}-${PKG_VERSION}.tar.gz
  15. include ${TOPDIR}/mk/package.mk
  16. $(eval $(call PKG_template,RSYNC,rsync,${PKG_VERSION}-${PKG_RELEASE},${PKG_DEPENDS},${PKG_DESCR},${PKG_SECTION}))
  17. ifeq ($(ADK_STATIC),y)
  18. TARGET_CFLAGS+= -static
  19. TARGET_LDFLAGS+= -static
  20. endif
  21. rsync-install:
  22. ${INSTALL_DIR} ${IDIR_RSYNC}/usr/bin
  23. ${INSTALL_BIN} ${WRKINST}/usr/bin/rsync ${IDIR_RSYNC}/usr/bin
  24. include ${TOPDIR}/mk/pkg-bottom.mk