From: Florian Fainelli Date: Sat, 5 Dec 2009 01:06:46 +0000 (+0000) Subject: [package] update git to 1.6.5.3 (#6271) X-Git-Url: http://git.openwrt.org/?p=openwrt%2Fsvn-archive%2Farchive.git;a=commitdiff_plain;h=5662f491e15b148410dd076730089ff51b246f74 [package] update git to 1.6.5.3 (#6271) SVN-Revision: 18649 --- diff --git a/devel/git/Makefile b/devel/git/Makefile deleted file mode 100644 index f4930a54c9..0000000000 --- a/devel/git/Makefile +++ /dev/null @@ -1,80 +0,0 @@ -# -# Copyright (C) 2009 OpenWrt.org -# -# This is free software, licensed under the GNU General Public License v2. -# See /LICENSE for more information. -# -# Alessandro Di Marco - -include $(TOPDIR)/rules.mk - -PKG_NAME:=git -PKG_VERSION:=1.6.5 -PKG_RELEASE:=1 - -PKG_SOURCE:=${PKG_NAME}-${PKG_VERSION}.tar.gz -PKG_SOURCE_URL:=http://kernel.org/pub/software/scm/git/ -PKG_MD5SUM:=91bddd06604c6f9a37c3b38f99db47d5 - -include $(INCLUDE_DIR)/package.mk - -define Package/git - SECTION:=utils - CATEGORY:=Utilities - DEPENDS:=+libopenssl +zlib +dropbear - TITLE:=The fast version control system - URL:=http://git-scm.com -endef - -define Package/git/description - Git is a free & open source, distributed version control system - designed to handle everything from small to very large projects - with speed and efficiency. -endef - -define Build/Configure - $(MAKE) -C $(PKG_BUILD_DIR) \ - configure - - (cd $(PKG_BUILD_DIR); \ - ./configure \ - --prefix=/usr \ - ); -endef - -define Build/Compile - $(MAKE) -C $(PKG_BUILD_DIR) \ - CC="$(TARGET_CC)" \ - LD="$(TARGET_CC)" \ - CFLAGS="$(TARGET_CFLAGS) $(TARGET_CPPFLAGS)" \ - CPPFLAGS="$(TARGET_CPPFLAGS)" \ - LDFLAGS="$(TARGET_LDFLAGS)" \ - NO_PERL="YesPlease" \ - NO_EXPAT="YesPlease" \ - NO_WISH="YesPlease" \ - NO_ICONV="YesPlease" \ - NO_NSEC="YesPlease" \ - NO_CURL="YesPlease" \ - NO_TCLTK="YesPlease" \ - all -endef - -define Package/git/install - $(MAKE) -C $(PKG_BUILD_DIR) \ - DESTDIR="$(1)" \ - CC="$(TARGET_CC)" \ - LD="$(TARGET_CC)" \ - CFLAGS="$(TARGET_CFLAGS) $(TARGET_CPPFLAGS)" \ - CPPFLAGS="$(TARGET_CPPFLAGS)" \ - LDFLAGS="$(TARGET_LDFLAGS)" \ - NO_PERL="YesPlease" \ - NO_EXPAT="YesPlease" \ - NO_WISH="YesPlease" \ - NO_ICONV="YesPlease" \ - NO_NSEC="YesPlease" \ - NO_CURL="YesPlease" \ - NO_TCLTK="YesPlease" \ - install -endef - -$(eval $(call BuildPackage,git)) diff --git a/net/git/Makefile b/net/git/Makefile new file mode 100644 index 0000000000..11f7ea8c04 --- /dev/null +++ b/net/git/Makefile @@ -0,0 +1,81 @@ +# +# Copyright (C) 2009 OpenWrt.org +# +# This is free software, licensed under the GNU General Public License v2. +# See /LICENSE for more information. +# +# Alessandro Di Marco + +include $(TOPDIR)/rules.mk + +PKG_NAME:=git +PKG_VERSION:=1.6.5.3 +PKG_RELEASE:=1 + +PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.bz2 +PKG_SOURCE_URL:=@KERNEL/software/scm/git +PKG_MD5SUM:=a1dbc3da46cbf33c4367db689853c142 + +include $(INCLUDE_DIR)/package.mk + +define Package/git + SECTION:=net + CATEGORY:=Network + SUBMENU:=Version Control Systems + DEPENDS:=+libopenssl +dropbear +libpthread + TITLE:=The fast version control system + URL:=http://git-scm.com +endef + +define Package/git/description + Git is a free & open source, distributed version control system + designed to handle everything from small to very large projects + with speed and efficiency. +endef + +define Build/Configure + $(MAKE) -C $(PKG_BUILD_DIR) \ + configure + + (cd $(PKG_BUILD_DIR); \ + ./configure \ + --prefix=/usr \ + ); +endef + +define Build/Compile + $(MAKE) -C $(PKG_BUILD_DIR) \ + CC="$(TARGET_CC)" \ + LD="$(TARGET_CC)" \ + CFLAGS="$(TARGET_CFLAGS) $(TARGET_CPPFLAGS)" \ + CPPFLAGS="$(TARGET_CPPFLAGS)" \ + LDFLAGS="$(TARGET_LDFLAGS)" \ + NO_PERL="YesPlease" \ + NO_EXPAT="YesPlease" \ + NO_WISH="YesPlease" \ + NO_ICONV="YesPlease" \ + NO_NSEC="YesPlease" \ + NO_CURL="YesPlease" \ + NO_TCLTK="YesPlease" \ + all +endef + +define Package/git/install + $(MAKE) -C $(PKG_BUILD_DIR) \ + DESTDIR="$(1)" \ + CC="$(TARGET_CC)" \ + LD="$(TARGET_CC)" \ + CFLAGS="$(TARGET_CFLAGS) $(TARGET_CPPFLAGS)" \ + CPPFLAGS="$(TARGET_CPPFLAGS)" \ + LDFLAGS="$(TARGET_LDFLAGS)" \ + NO_PERL="YesPlease" \ + NO_EXPAT="YesPlease" \ + NO_WISH="YesPlease" \ + NO_ICONV="YesPlease" \ + NO_NSEC="YesPlease" \ + NO_CURL="YesPlease" \ + NO_TCLTK="YesPlease" \ + install +endef + +$(eval $(call BuildPackage,git))