source: packages/net/mercurial/Makefile @ 24864

Last change on this file since 24864 was 24864, checked in by swalker, 6 years ago

[packages] mercurial: update to 1.7.2, refresh patches

File size: 1.2 KB
Line 
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
8include $(TOPDIR)/rules.mk
9
10PKG_NAME:=mercurial
11PKG_VERSION:=1.7.2
12PKG_RELEASE:=1
13
14PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.gz
15PKG_SOURCE_URL:=http://mercurial.selenic.com/release
16PKG_MD5SUM:=e9e99a0a20ded8f6d9463ffb94021b12
17
18PKG_BUILD_DEPENDS:=python-mini
19
20include $(INCLUDE_DIR)/package.mk
21$(call include_mk, python-package.mk)
22
23define 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
30endef
31
32define Package/mercurial/description
33  A fast, lightweight Source Control Management system designed for efficient
34  handling of very large distributed projects.
35endef
36
37define Build/Compile
38        $(call Build/Compile/PyMod,, \
39                install --prefix="$(PKG_INSTALL_DIR)", \
40    )
41endef
42
43define 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/
48endef
49
50$(eval $(call BuildPackage,mercurial))
Note: See TracBrowser for help on using the repository browser.