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
9 PKG_HASH
:= e916e5e95e81dbeafa7aac5d719c01108b5c814eb90b746695afa1afedf955c7
10 PKG_DESCR
:= fast version control system
12 PKG_BUILDDEP
:= curl expat libressl
13 PKG_DEPENDS
:= libcurl libexpat libressl
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
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