2008-09-28 08:50:41 +00:00
|
|
|
#
|
2009-03-09 02:02:37 +00:00
|
|
|
# Copyright (C) 2006,2009 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
|
2009-01-02 14:59:14 +00:00
|
|
|
PKG_VERSION:=1.1.2
|
2008-09-28 08:50:41 +00:00
|
|
|
PKG_RELEASE:=1
|
|
|
|
|
|
|
|
PKG_SOURCE_URL:=http://selenic.com/mercurial/release/
|
|
|
|
PKG_SOURCE:=mercurial-$(PKG_VERSION).tar.gz
|
2009-01-02 14:59:14 +00:00
|
|
|
PKG_MD5SUM:=4fd3b9a2e5dcd025840c3849b136bec8
|
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
|
2009-03-09 02:02:37 +00:00
|
|
|
-include $(if $(DUMP),,$(STAGING_DIR)/mk/python-package.mk)
|
2008-09-28 08:50:41 +00:00
|
|
|
|
|
|
|
define Package/mercurial
|
|
|
|
SECTION:=net
|
|
|
|
CATEGORY:=Network
|
|
|
|
DEPENDS:=python
|
|
|
|
TITLE:=Mercurial Source Control Management (SCM) system
|
|
|
|
URL:=http://www.selenic.com/mercurial/
|
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
|
2008-09-28 09:18:40 +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
|
|
|
|
$(CP) $(PKG_INSTALL_DIR)/bin $(1)/usr
|
|
|
|
$(CP) $(PKG_INSTALL_DIR)/lib $(1)/usr
|
|
|
|
endef
|
|
|
|
|
|
|
|
$(eval $(call BuildPackage,mercurial))
|