2 # Copyright (C) 2009-2011 OpenWrt.org
4 # This is free software, licensed under the GNU General Public License v2.
5 # See /LICENSE for more information.
7 # Alessandro Di Marco <dmr-wrt@ethzero.com>
9 include $(TOPDIR
)/rules.mk
15 PKG_SOURCE
:=$(PKG_NAME
)-$(PKG_VERSION
).
tar.bz2
16 PKG_SOURCE_URL
:=@KERNEL
/software
/scm
/git
17 PKG_MD5SUM
:=3a2602016f98c529cda7b9fad1a6e216
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.
41 CFLAGS
="$(TARGET_CFLAGS) $(TARGET_CPPFLAGS)" \
42 CPPFLAGS
="$(TARGET_CPPFLAGS)" \
43 LDFLAGS
="$(TARGET_LDFLAGS)" \
45 NO_EXPAT
="YesPlease" \
47 NO_ICONV
="YesPlease" \
50 NO_TCLTK
="YesPlease" \
51 NO_MKSTEMPS
="YesPlease" \
52 NO_PYTHON
="YesPlease" \
54 define Build
/Configure
55 $(MAKE
) -C
$(PKG_BUILD_DIR
) \
58 (cd
$(PKG_BUILD_DIR
); \
64 define Package
/git
/install
66 $(CP
) $(PKG_INSTALL_DIR
)/* $(1)/
69 $(eval
$(call BuildPackage
,git
))