Makefile 1.4 KB

12345678910111213141516171819202122232425262728293031323334353637383940
  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:= git
  5. PKG_VERSION:= 1.6.4.2
  6. PKG_RELEASE:= 1
  7. PKG_MD5SUM:= d7732d13a227d89f05122d230c5c8048
  8. PKG_DESCR:= fast version control system
  9. PKG_SECTION:= misc
  10. PKG_DEPENDS:= openssl curl
  11. PKG_URL:= http://git-scm.com
  12. PKG_SITES:= http://kernel.org/pub/software/scm/git/
  13. include $(TOPDIR)/mk/package.mk
  14. $(eval $(call PKG_template,GIT,${PKG_NAME},$(PKG_VERSION)-${PKG_RELEASE},${PKG_DEPENDS},${PKG_DESCR},${PKG_SECTION}))
  15. TCFLAGS+= -DNO_NSEC -DNO_TCLTK -DNO_PERL
  16. CONFIGURE_STYLE:= gnu
  17. CONFIGURE_ENV+= ac_cv_c_c99_format=yes \
  18. ac_cv_fread_reads_directories=no \
  19. ac_cv_snprintf_returns_bogus=no
  20. BUILD_STYLE:= auto
  21. INSTALL_STYLE:= auto
  22. post-install:
  23. $(INSTALL_DIR) $(IDIR_GIT)/usr/bin $(IDIR_GIT)/usr/sbin/git-core
  24. $(INSTALL_DIR) $(IDIR_GIT)/usr/share/git-core/templates
  25. $(CP) $(WRKINST)/usr/share/git-core/templates/* \
  26. $(IDIR_GIT)/usr/share/git-core/templates
  27. $(CP) $(WRKINST)/usr/bin/git $(IDIR_GIT)/usr/bin
  28. $(CP) $(WRKINST)/usr/bin/git-shell $(IDIR_GIT)/usr/bin
  29. $(CP) $(WRKINST)/usr/bin/git-receive-pack $(IDIR_GIT)/usr/bin
  30. $(CP) $(WRKINST)/usr/bin/git-upload-pack $(IDIR_GIT)/usr/bin
  31. $(CP) $(WRKINST)/usr/bin/git-upload-archive $(IDIR_GIT)/usr/bin
  32. ${CP} $(WRKINST)/usr/sbin/git-core/* $(IDIR_GIT)/usr/sbin/git-core
  33. include ${TOPDIR}/mk/pkg-bottom.mk