2 # Copyright (C) 2009-2014 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:=560200d1db05a2dd2b8a2b3718655463
21 include $(INCLUDE_DIR)/package.mk
26 SUBMENU:=Version Control Systems
27 DEPENDS:=+libopenssl +libpthread
28 TITLE:=The fast version control system
29 URL:=http://git-scm.com
32 define Package/git/description
33 Git is a free & open source, distributed version control system
34 designed to handle everything from small to very large projects
35 with speed and efficiency.
40 CFLAGS="$(TARGET_CFLAGS)" \
41 CPPFLAGS="$(TARGET_CPPFLAGS)" \
42 LDFLAGS="$(TARGET_LDFLAGS)" \
44 NO_EXPAT="YesPlease" \
45 NO_MKSTEMPS="YesPlease" \
46 NO_GETTEXT="YesPlease" \
47 NO_UNIX_SOCKETS="YesPlease" \
49 NO_ICONV="YesPlease" \
52 NO_PYTHON="YesPlease" \
55 define Build/Configure
56 $(MAKE) -C $(PKG_BUILD_DIR) \
59 ( cd $(PKG_BUILD_DIR); \
60 ./configure --prefix=/usr \
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))