12345678910111213141516171819202122232425262728293031323334353637383940 |
- # This file is part of the OpenADK project. OpenADK is copyrighted
- # material, please see the LICENCE file in the top-level directory.
- include $(TOPDIR)/rules.mk
- PKG_NAME:= git
- PKG_VERSION:= 1.7.3.2
- PKG_RELEASE:= 1
- PKG_MD5SUM:= 9b4bc13cd26cd8feb6b2dce8eefac145
- PKG_DESCR:= fast version control system
- PKG_SECTION:= scm
- PKG_DEPENDS:= libopenssl libcurl libexpat libpthread
- PKG_BUILDDEP:= openssl curl expat
- PKG_URL:= http://git-scm.com/
- PKG_SITES:= http://kernel.org/pub/software/scm/git/
- include $(TOPDIR)/mk/package.mk
- $(eval $(call PKG_template,GIT,${PKG_NAME},$(PKG_VERSION)-${PKG_RELEASE},${PKG_DEPENDS},${PKG_DESCR},${PKG_SECTION}))
- MAKE_ENV+= NO_PERL=1 NO_NSEC=1 NO_TCLTK=1 NO_PYTHON=1 \
- CURLDIR=${STAGING_DIR} EXPATDIR=${STAGING_DIR}
- XAKE_FLAGS+= uname_S=Linux uname_O=GNU/Linux
- CONFIGURE_ENV+= ac_cv_c_c99_format=yes \
- ac_cv_fread_reads_directories=no \
- ac_cv_snprintf_returns_bogus=no
- post-install:
- $(INSTALL_DIR) $(IDIR_GIT)/usr/bin $(IDIR_GIT)/usr/libexec/git-core
- $(INSTALL_DIR) $(IDIR_GIT)/usr/share/git-core/templates
- $(CP) $(WRKINST)/usr/share/git-core/templates/* \
- $(IDIR_GIT)/usr/share/git-core/templates
- $(CP) $(WRKINST)/usr/bin/git $(IDIR_GIT)/usr/bin
- $(CP) $(WRKINST)/usr/bin/git-shell $(IDIR_GIT)/usr/bin
- $(CP) $(WRKINST)/usr/bin/git-receive-pack $(IDIR_GIT)/usr/bin
- $(CP) $(WRKINST)/usr/bin/git-upload-pack $(IDIR_GIT)/usr/bin
- $(CP) $(WRKINST)/usr/bin/git-upload-archive $(IDIR_GIT)/usr/bin
- ${CP} $(WRKINST)/usr/libexec/git-core/* $(IDIR_GIT)/usr/libexec/git-core
- include ${TOPDIR}/mk/pkg-bottom.mk
|