2 # Copyright (C) 2009-2015 OpenWrt.org
4 # This is free software, licensed under the GNU General Public License v2.
5 # See /LICENSE for more information.
8 include $(TOPDIR
)/rules.mk
14 PKG_SOURCE
:=$(PKG_NAME
)-$(PKG_VERSION
).
tar.xz
15 PKG_SOURCE_URL
:=@KERNEL
/software
/scm
/git
/
16 PKG_MD5SUM
:=e5880760d1f43f4f49b3bf94b9046eee
22 include $(INCLUDE_DIR
)/package.mk
27 SUBMENU
:=Version Control Systems
28 DEPENDS
:=+libopenssl
+libpthread
+librt
29 TITLE
:=The fast version control system
30 URL
:=http
://git-scm.com
31 MAINTAINER
:=Peter Wagner
<tripolar@gmx.at
>
34 define Package
/git
/description
35 Git is a free
& open source
, distributed version control system
36 designed to handle everything from small to very large projects
37 with speed and efficiency.
42 CFLAGS
="$(TARGET_CFLAGS)" \
43 CPPFLAGS
="$(TARGET_CPPFLAGS)" \
44 LDFLAGS
="$(TARGET_LDFLAGS)" \
46 NO_EXPAT
="YesPlease" \
47 NO_MKSTEMPS
="YesPlease" \
48 NO_GETTEXT
="YesPlease" \
49 NO_UNIX_SOCKETS
="YesPlease" \
51 NO_ICONV
="YesPlease" \
54 NO_PYTHON
="YesPlease" \
57 define Build
/Configure
58 $(MAKE
) -C
$(PKG_BUILD_DIR
) \
61 $(call Build
/Configure
/Default
,)
64 define Package
/git
/install
66 $(RM
) $(PKG_INSTALL_DIR
)/usr
/bin
/git-cvsserver
67 $(CP
) $(PKG_INSTALL_DIR
)/* $(1)/
70 $(eval
$(call BuildPackage
,git
))