2008-09-28 08:50:41 +00:00
|
|
|
#
|
2011-01-01 14:05:35 +00:00
|
|
|
# Copyright (C) 2006-2011 OpenWrt.org
|
2008-09-28 08:50:41 +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:=mercurial
|
2011-06-07 01:42:39 +00:00
|
|
|
PKG_VERSION:=1.8.4
|
2011-01-01 14:05:35 +00:00
|
|
|
PKG_RELEASE:=1
|
2008-09-28 08:50:41 +00:00
|
|
|
|
2011-01-01 14:05:35 +00:00
|
|
|
PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.gz
|
2010-03-24 04:49:34 +00:00
|
|
|
PKG_SOURCE_URL:=http://mercurial.selenic.com/release
|
2011-06-07 01:42:39 +00:00
|
|
|
PKG_MD5SUM:=b3dcc3de473e003dd1cc0500dcd9de47
|
2011-01-01 14:05:35 +00:00
|
|
|
|
2009-03-09 02:02:37 +00:00
|
|
|
PKG_BUILD_DEPENDS:=python-mini
|
2008-09-28 08:50:41 +00:00
|
|
|
|
|
|
|
include $(INCLUDE_DIR)/package.mk
|
2010-02-24 23:13:32 +00:00
|
|
|
$(call include_mk, python-package.mk)
|
2008-09-28 08:50:41 +00:00
|
|
|
|
|
|
|
define Package/mercurial
|
|
|
|
SECTION:=net
|
|
|
|
CATEGORY:=Network
|
2010-09-05 11:58:11 +00:00
|
|
|
DEPENDS:=+python
|
2008-09-28 08:50:41 +00:00
|
|
|
TITLE:=Mercurial Source Control Management (SCM) system
|
2010-03-24 04:49:34 +00:00
|
|
|
URL:=http://mercurial.selenic.com/
|
2009-07-25 22:07:24 +00:00
|
|
|
SUBMENU:=Version Control Systems
|
2008-09-28 08:50:41 +00:00
|
|
|
endef
|
|
|
|
|
|
|
|
define Package/mercurial/description
|
2011-01-01 14:05:35 +00:00
|
|
|
A fast, lightweight Source Control Management system designed for efficient
|
|
|
|
handling of very large distributed projects.
|
2008-09-28 08:50:41 +00:00
|
|
|
endef
|
|
|
|
|
|
|
|
define Build/Compile
|
2009-03-09 02:02:37 +00:00
|
|
|
$(call Build/Compile/PyMod,, \
|
|
|
|
install --prefix="$(PKG_INSTALL_DIR)", \
|
|
|
|
)
|
2008-09-28 08:50:41 +00:00
|
|
|
endef
|
|
|
|
|
|
|
|
define Package/mercurial/install
|
|
|
|
$(INSTALL_DIR) $(1)/usr/bin
|
|
|
|
$(INSTALL_DIR) $(1)/usr/lib
|
2011-01-01 14:05:35 +00:00
|
|
|
$(CP) $(PKG_INSTALL_DIR)/bin $(1)/usr/
|
|
|
|
$(CP) $(PKG_INSTALL_DIR)/lib $(1)/usr/
|
2008-09-28 08:50:41 +00:00
|
|
|
endef
|
|
|
|
|
|
|
|
$(eval $(call BuildPackage,mercurial))
|