binutils: fix default
[openadk.git] / package / git / Makefile
bloba3c872f00db79cd54a8f1a1bef3d83895237ddac
1 # This file is part of the OpenADK project. OpenADK is copyrighted
2 # material, please see the LICENCE file in the top-level directory.
4 include $(ADK_TOPDIR)/rules.mk
6 PKG_NAME:= git
7 PKG_VERSION:= 2.17.0
8 PKG_RELEASE:= 1
9 PKG_HASH:= e916e5e95e81dbeafa7aac5d719c01108b5c814eb90b746695afa1afedf955c7
10 PKG_DESCR:= fast version control system
11 PKG_SECTION:= dev/scm
12 PKG_BUILDDEP:= curl expat libressl
13 PKG_DEPENDS:= libcurl libexpat libressl
14 PKG_NEEDS:= threads
15 PKG_URL:= http://git-scm.com/
16 PKG_SITES:= https://www.kernel.org/pub/software/scm/git/
18 include $(ADK_TOPDIR)/mk/package.mk
20 $(eval $(call PKG_template,GIT,git,$(PKG_VERSION)-${PKG_RELEASE},${PKG_DEPENDS},${PKG_DESCR},${PKG_SECTION}))
22 AUTOTOOL_STYLE:= autoreconf
23 XAKE_FLAGS+= NO_PERL=1 NO_NSEC=1 NO_TCLTK=1 NO_PYTHON=1 \
24 NO_INSTALL_HARDLINKS=1 NO_GETTEXT=1 NO_ICONV=1 \
25 CURLDIR=${STAGING_TARGET_DIR} \
26 EXPATDIR=${STAGING_TARGET_DIR}
27 XAKE_FLAGS+= uname_S=Linux uname_O=GNU/Linux
28 CONFIGURE_ARGS+= --without-iconv
29 CONFIGURE_ENV+= ac_cv_c_c99_format=yes \
30 ac_cv_fread_reads_directories=no \
31 ac_cv_snprintf_returns_bogus=no
33 git-install:
34 $(INSTALL_DIR) $(IDIR_GIT)/usr/bin $(IDIR_GIT)/usr/libexec/git-core
35 $(INSTALL_DIR) $(IDIR_GIT)/usr/share/git-core/templates
36 $(CP) $(WRKINST)/usr/share/git-core/templates/* \
37 $(IDIR_GIT)/usr/share/git-core/templates
38 $(CP) $(WRKINST)/usr/bin/git $(IDIR_GIT)/usr/bin
39 $(CP) $(WRKINST)/usr/bin/git-shell $(IDIR_GIT)/usr/bin
40 $(CP) $(WRKINST)/usr/bin/git-receive-pack $(IDIR_GIT)/usr/bin
41 $(CP) $(WRKINST)/usr/bin/git-upload-pack $(IDIR_GIT)/usr/bin
42 $(CP) $(WRKINST)/usr/bin/git-upload-archive $(IDIR_GIT)/usr/bin
43 ${CP} $(WRKINST)/usr/libexec/git-core/* $(IDIR_GIT)/usr/libexec/git-core
45 include ${ADK_TOPDIR}/mk/pkg-bottom.mk