[packages] mercurial: update to 1.8.4, refresh patches
[openwrt/svn-archive/archive.git] / net / mercurial / Makefile
1 #
2 # Copyright (C) 2006-2011 OpenWrt.org
3 #
4 # This is free software, licensed under the GNU General Public License v2.
5 # See /LICENSE for more information.
6 #
7
8 include $(TOPDIR)/rules.mk
9
10 PKG_NAME:=mercurial
11 PKG_VERSION:=1.8.4
12 PKG_RELEASE:=1
13
14 PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.gz
15 PKG_SOURCE_URL:=http://mercurial.selenic.com/release
16 PKG_MD5SUM:=b3dcc3de473e003dd1cc0500dcd9de47
17
18 PKG_BUILD_DEPENDS:=python-mini
19
20 include $(INCLUDE_DIR)/package.mk
21 $(call include_mk, python-package.mk)
22
23 define Package/mercurial
24 SECTION:=net
25 CATEGORY:=Network
26 DEPENDS:=+python
27 TITLE:=Mercurial Source Control Management (SCM) system
28 URL:=http://mercurial.selenic.com/
29 SUBMENU:=Version Control Systems
30 endef
31
32 define Package/mercurial/description
33 A fast, lightweight Source Control Management system designed for efficient
34 handling of very large distributed projects.
35 endef
36
37 define Build/Compile
38 $(call Build/Compile/PyMod,, \
39 install --prefix="$(PKG_INSTALL_DIR)", \
40 )
41 endef
42
43 define Package/mercurial/install
44 $(INSTALL_DIR) $(1)/usr/bin
45 $(INSTALL_DIR) $(1)/usr/lib
46 $(CP) $(PKG_INSTALL_DIR)/bin $(1)/usr/
47 $(CP) $(PKG_INSTALL_DIR)/lib $(1)/usr/
48 endef
49
50 $(eval $(call BuildPackage,mercurial))