Makefile 1.6 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344
  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.5.5
  6. PKG_RELEASE:= 2
  7. PKG_MD5SUM:= 50fb736021ef89916af622cb4772bbea
  8. PKG_DESCR:= fast version control system
  9. PKG_SECTION:= misc
  10. PKG_DEPENDS:= libopenssl libcurl libexpat
  11. PKG_BUILDDEP+= openssl curl expat
  12. PKG_URL:= http://git-scm.com
  13. PKG_SITES:= http://kernel.org/pub/software/scm/git/
  14. include $(TOPDIR)/mk/package.mk
  15. $(eval $(call PKG_template,GIT,${PKG_NAME},$(PKG_VERSION)-${PKG_RELEASE},${PKG_DEPENDS},${PKG_DESCR},${PKG_SECTION}))
  16. MAKE_ENV+= NO_PERL=1 NO_NSEC=1 NO_TCLTK=1 \
  17. NO_CROSS_DIRECTORY_HARDLINKS=1 \
  18. CURLDIR=${STAGING_DIR} EXPATDIR=${STAGING_DIR}
  19. XAKE_FLAGS+= V=1 uname_S=Linux
  20. CONFIGURE_STYLE:= gnu
  21. CONFIGURE_ENV+= ac_cv_c_c99_format=yes \
  22. ac_cv_fread_reads_directories=no \
  23. ac_cv_snprintf_returns_bogus=no
  24. BUILD_STYLE:= auto
  25. INSTALL_STYLE:= auto
  26. post-install:
  27. $(INSTALL_DIR) $(IDIR_GIT)/usr/bin $(IDIR_GIT)/usr/sbin/git-core
  28. $(INSTALL_DIR) $(IDIR_GIT)/usr/share/git-core/templates
  29. $(CP) $(WRKINST)/usr/share/git-core/templates/* \
  30. $(IDIR_GIT)/usr/share/git-core/templates
  31. $(CP) $(WRKINST)/usr/bin/git $(IDIR_GIT)/usr/bin
  32. $(CP) $(WRKINST)/usr/bin/git-shell $(IDIR_GIT)/usr/bin
  33. $(CP) $(WRKINST)/usr/bin/git-receive-pack $(IDIR_GIT)/usr/bin
  34. $(CP) $(WRKINST)/usr/bin/git-upload-pack $(IDIR_GIT)/usr/bin
  35. $(CP) $(WRKINST)/usr/bin/git-upload-archive $(IDIR_GIT)/usr/bin
  36. ${CP} $(WRKINST)/usr/sbin/git-core/* $(IDIR_GIT)/usr/sbin/git-core
  37. include ${TOPDIR}/mk/pkg-bottom.mk