use <linuxinput> only as keyboard driver, as more than one driver cause confusing...
[openwrt/svn-archive/archive.git] / net / git / Makefile
1 #
2 # Copyright (C) 2009 OpenWrt.org
3 #
4 # This is free software, licensed under the GNU General Public License v2.
5 # See /LICENSE for more information.
6 #
7 # Alessandro Di Marco <dmr-wrt@ethzero.com>
8
9 include $(TOPDIR)/rules.mk
10
11 PKG_NAME:=git
12 PKG_VERSION:=1.6.5.3
13 PKG_RELEASE:=1
14
15 PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.bz2
16 PKG_SOURCE_URL:=@KERNEL/software/scm/git
17 PKG_MD5SUM:=a1dbc3da46cbf33c4367db689853c142
18
19 include $(INCLUDE_DIR)/package.mk
20
21 define Package/git
22 SECTION:=net
23 CATEGORY:=Network
24 SUBMENU:=Version Control Systems
25 DEPENDS:=+libopenssl +dropbear +libpthread
26 TITLE:=The fast version control system
27 URL:=http://git-scm.com
28 endef
29
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.
34 endef
35
36 define Build/Configure
37 $(MAKE) -C $(PKG_BUILD_DIR) \
38 configure
39
40 (cd $(PKG_BUILD_DIR); \
41 ./configure \
42 --prefix=/usr \
43 );
44 endef
45
46 define Build/Compile
47 $(MAKE) -C $(PKG_BUILD_DIR) \
48 CC="$(TARGET_CC)" \
49 LD="$(TARGET_CC)" \
50 CFLAGS="$(TARGET_CFLAGS) $(TARGET_CPPFLAGS)" \
51 CPPFLAGS="$(TARGET_CPPFLAGS)" \
52 LDFLAGS="$(TARGET_LDFLAGS)" \
53 NO_PERL="YesPlease" \
54 NO_EXPAT="YesPlease" \
55 NO_WISH="YesPlease" \
56 NO_ICONV="YesPlease" \
57 NO_NSEC="YesPlease" \
58 NO_CURL="YesPlease" \
59 NO_TCLTK="YesPlease" \
60 all
61 endef
62
63 define Package/git/install
64 $(MAKE) -C $(PKG_BUILD_DIR) \
65 DESTDIR="$(1)" \
66 CC="$(TARGET_CC)" \
67 LD="$(TARGET_CC)" \
68 CFLAGS="$(TARGET_CFLAGS) $(TARGET_CPPFLAGS)" \
69 CPPFLAGS="$(TARGET_CPPFLAGS)" \
70 LDFLAGS="$(TARGET_LDFLAGS)" \
71 NO_PERL="YesPlease" \
72 NO_EXPAT="YesPlease" \
73 NO_WISH="YesPlease" \
74 NO_ICONV="YesPlease" \
75 NO_NSEC="YesPlease" \
76 NO_CURL="YesPlease" \
77 NO_TCLTK="YesPlease" \
78 install
79 endef
80
81 $(eval $(call BuildPackage,git))