2 # Copyright (C) 2009 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
:=a1dbc3da46cbf33c4367db689853c142
19 include $(INCLUDE_DIR
)/package.mk
24 SUBMENU
:=Version Control Systems
25 DEPENDS
:=+libopenssl
+dropbear
+libpthread
26 TITLE
:=The fast version control system
27 URL
:=http
://git-scm.com
30 define Package
/git
/description
31 Git is a free
& open source
, distributed version control system
32 designed to handle everything from small to very large projects
33 with speed and efficiency.
36 define Build
/Configure
37 $(MAKE
) -C
$(PKG_BUILD_DIR
) \
40 (cd
$(PKG_BUILD_DIR
); \
47 $(MAKE
) -C
$(PKG_BUILD_DIR
) \
50 CFLAGS
="$(TARGET_CFLAGS) $(TARGET_CPPFLAGS)" \
51 CPPFLAGS
="$(TARGET_CPPFLAGS)" \
52 LDFLAGS
="$(TARGET_LDFLAGS)" \
54 NO_EXPAT
="YesPlease" \
56 NO_ICONV
="YesPlease" \
59 NO_TCLTK
="YesPlease" \
63 define Package
/git
/install
64 $(MAKE
) -C
$(PKG_BUILD_DIR
) \
68 CFLAGS
="$(TARGET_CFLAGS) $(TARGET_CPPFLAGS)" \
69 CPPFLAGS
="$(TARGET_CPPFLAGS)" \
70 LDFLAGS
="$(TARGET_LDFLAGS)" \
72 NO_EXPAT
="YesPlease" \
74 NO_ICONV
="YesPlease" \
77 NO_TCLTK
="YesPlease" \
81 $(eval
$(call BuildPackage
,git
))