2009-11-26 23:39:30 +00:00
|
|
|
#
|
2012-06-08 23:28:44 +00:00
|
|
|
# Copyright (C) 2009-2012 OpenWrt.org
|
2009-11-26 23:39:30 +00:00
|
|
|
#
|
|
|
|
# This is free software, licensed under the GNU General Public License v2.
|
|
|
|
# See /LICENSE for more information.
|
|
|
|
#
|
|
|
|
|
|
|
|
include $(TOPDIR)/rules.mk
|
|
|
|
|
|
|
|
PKG_NAME:=git
|
2012-06-08 23:28:44 +00:00
|
|
|
PKG_VERSION:=1.7.10.4
|
|
|
|
PKG_RELEASE:=1
|
2009-11-26 23:39:30 +00:00
|
|
|
|
2012-06-08 23:28:44 +00:00
|
|
|
PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.gz
|
|
|
|
PKG_SOURCE_URL:=http://git-core.googlecode.com/files/
|
|
|
|
PKG_MD5SUM:=68319d593d051ef76c26e945bbd2d7ac
|
2009-11-26 23:39:30 +00:00
|
|
|
|
2010-04-06 09:14:51 +00:00
|
|
|
PKG_INSTALL:=1
|
2011-04-16 08:59:26 +00:00
|
|
|
PKG_BUILD_PARALLEL:=1
|
2010-04-06 09:14:51 +00:00
|
|
|
|
2009-11-26 23:39:30 +00:00
|
|
|
include $(INCLUDE_DIR)/package.mk
|
|
|
|
|
|
|
|
define Package/git
|
2009-12-05 01:06:46 +00:00
|
|
|
SECTION:=net
|
|
|
|
CATEGORY:=Network
|
|
|
|
SUBMENU:=Version Control Systems
|
2012-06-08 23:28:44 +00:00
|
|
|
DEPENDS:=+libopenssl +libcurl +libpthread
|
2009-11-26 23:39:30 +00:00
|
|
|
TITLE:=The fast version control system
|
|
|
|
URL:=http://git-scm.com
|
|
|
|
endef
|
|
|
|
|
|
|
|
define Package/git/description
|
2009-12-05 01:06:46 +00:00
|
|
|
Git is a free & open source, distributed version control system
|
|
|
|
designed to handle everything from small to very large projects
|
2009-11-26 23:39:30 +00:00
|
|
|
with speed and efficiency.
|
|
|
|
endef
|
|
|
|
|
2010-04-06 09:14:51 +00:00
|
|
|
MAKE_FLAGS := \
|
|
|
|
CC="$(TARGET_CC)" \
|
2012-06-08 23:28:44 +00:00
|
|
|
CFLAGS="$(TARGET_CFLAGS)" \
|
2010-04-06 09:14:51 +00:00
|
|
|
CPPFLAGS="$(TARGET_CPPFLAGS)" \
|
|
|
|
LDFLAGS="$(TARGET_LDFLAGS)" \
|
|
|
|
NO_EXPAT="YesPlease" \
|
2012-06-08 23:28:44 +00:00
|
|
|
NO_MKSTEMPS="YesPlease" \
|
|
|
|
NO_GETTEXT="YesPlease" \
|
|
|
|
NO_IPV6="YesPlease" \
|
2010-04-06 09:14:51 +00:00
|
|
|
NO_ICONV="YesPlease" \
|
|
|
|
NO_NSEC="YesPlease" \
|
2012-06-08 23:28:44 +00:00
|
|
|
NO_PERL="YesPlease" \
|
2010-11-28 18:02:17 +00:00
|
|
|
NO_PYTHON="YesPlease" \
|
2012-06-08 23:28:44 +00:00
|
|
|
NO_TCLTK="YesPlease"
|
2010-04-06 09:14:51 +00:00
|
|
|
|
2009-11-26 23:39:30 +00:00
|
|
|
define Build/Configure
|
|
|
|
$(MAKE) -C $(PKG_BUILD_DIR) \
|
|
|
|
configure
|
|
|
|
|
2011-04-16 08:59:26 +00:00
|
|
|
( cd $(PKG_BUILD_DIR); \
|
|
|
|
./configure --prefix=/usr \
|
2009-11-26 23:39:30 +00:00
|
|
|
);
|
|
|
|
endef
|
|
|
|
|
|
|
|
define Package/git/install
|
2010-04-06 09:14:51 +00:00
|
|
|
$(INSTALL_DIR) $(1)
|
2012-06-08 23:28:44 +00:00
|
|
|
$(RM) $(PKG_INSTALL_DIR)/usr/bin/git-cvsserver
|
2010-04-06 09:14:51 +00:00
|
|
|
$(CP) $(PKG_INSTALL_DIR)/* $(1)/
|
2009-11-26 23:39:30 +00:00
|
|
|
endef
|
|
|
|
|
|
|
|
$(eval $(call BuildPackage,git))
|