swalker 90531c161f [packages] mercurial: update to 1.8, refresh patches
git-svn-id: svn://svn.openwrt.org/openwrt/packages@25868 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-03-04 18:40:12 +00:00

51 lines
1.2 KiB
Makefile

#
# Copyright (C) 2006-2011 OpenWrt.org
#
# This is free software, licensed under the GNU General Public License v2.
# See /LICENSE for more information.
#
include $(TOPDIR)/rules.mk
PKG_NAME:=mercurial
PKG_VERSION:=1.8
PKG_RELEASE:=1
PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.gz
PKG_SOURCE_URL:=http://mercurial.selenic.com/release
PKG_MD5SUM:=c97b39832f2da60f951d1b7701688bd2
PKG_BUILD_DEPENDS:=python-mini
include $(INCLUDE_DIR)/package.mk
$(call include_mk, python-package.mk)
define Package/mercurial
SECTION:=net
CATEGORY:=Network
DEPENDS:=+python
TITLE:=Mercurial Source Control Management (SCM) system
URL:=http://mercurial.selenic.com/
SUBMENU:=Version Control Systems
endef
define Package/mercurial/description
A fast, lightweight Source Control Management system designed for efficient
handling of very large distributed projects.
endef
define Build/Compile
$(call Build/Compile/PyMod,, \
install --prefix="$(PKG_INSTALL_DIR)", \
)
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))