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
:= c31a5f5f72e025f8fe26845032a06683c7e5c1a73236c2353b5606ddd22e0494
10 PKG_DESCR
:= fast version control system
12 PKG_BUILDDEP
:= openssl curl expat
13 PKG_DEPENDS
:= libopenssl libcurl libexpat libpthread librt
14 PKG_URL
:= http
://git-scm.com
/
15 PKG_SITES
:= https
://www.kernel.org
/pub
/software
/scm
/git
/
17 include $(ADK_TOPDIR
)/mk
/package.mk
19 $(eval
$(call PKG_template
,GIT
,git
,$(PKG_VERSION
)-${PKG_RELEASE},${PKG_DEPENDS},${PKG_DESCR},${PKG_SECTION}))
21 AUTOTOOL_STYLE
:= autoreconf
22 XAKE_FLAGS
+= NO_PERL
=1 NO_NSEC
=1 NO_TCLTK
=1 NO_PYTHON
=1 \
23 NO_INSTALL_HARDLINKS
=1 NO_GETTEXT
=1 NO_ICONV
=1 \
24 CURLDIR
=${STAGING_TARGET_DIR} \
25 EXPATDIR
=${STAGING_TARGET_DIR}
26 XAKE_FLAGS
+= uname_S
=Linux uname_O
=GNU
/Linux
27 CONFIGURE_ARGS
+= --without-iconv
28 CONFIGURE_ENV
+= ac_cv_c_c99_format
=yes \
29 ac_cv_fread_reads_directories
=no \
30 ac_cv_snprintf_returns_bogus
=no
33 $(INSTALL_DIR
) $(IDIR_GIT
)/usr
/bin
$(IDIR_GIT
)/usr
/libexec
/git-core
34 $(INSTALL_DIR
) $(IDIR_GIT
)/usr
/share
/git-core
/templates
35 $(CP
) $(WRKINST
)/usr
/share
/git-core
/templates
/* \
36 $(IDIR_GIT
)/usr
/share
/git-core
/templates
37 $(CP
) $(WRKINST
)/usr
/bin
/git
$(IDIR_GIT
)/usr
/bin
38 $(CP
) $(WRKINST
)/usr
/bin
/git-shell
$(IDIR_GIT
)/usr
/bin
39 $(CP
) $(WRKINST
)/usr
/bin
/git-receive-pack
$(IDIR_GIT
)/usr
/bin
40 $(CP
) $(WRKINST
)/usr
/bin
/git-upload-pack
$(IDIR_GIT
)/usr
/bin
41 $(CP
) $(WRKINST
)/usr
/bin
/git-upload-archive
$(IDIR_GIT
)/usr
/bin
42 ${CP} $(WRKINST
)/usr
/libexec
/git-core
/* $(IDIR_GIT
)/usr
/libexec
/git-core
44 include ${ADK_TOPDIR}/mk
/pkg-bottom.mk