source: packages/net/mercurial/Makefile @ 20398

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

[packages] add missing & update current urls

File size: 1.2 KB
Line 
1#
2# Copyright (C) 2006-2010 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.1.2
12PKG_RELEASE:=1
13
14PKG_SOURCE_URL:=http://mercurial.selenic.com/release
15PKG_SOURCE:=mercurial-$(PKG_VERSION).tar.gz
16PKG_MD5SUM:=4fd3b9a2e5dcd025840c3849b136bec8
17PKG_BUILD_DEPENDS:=python-mini
18
19include $(INCLUDE_DIR)/package.mk
20$(call include_mk, python-package.mk)
21
22define Package/mercurial
23  SECTION:=net
24  CATEGORY:=Network
25  DEPENDS:=python
26  TITLE:=Mercurial Source Control Management (SCM) system
27  URL:=http://mercurial.selenic.com/
28  SUBMENU:=Version Control Systems
29endef
30
31define Package/mercurial/description
32  A fast, lightweight Source Control Management system designed for efficient handling of very large distributed projects.
33endef
34
35define Build/Compile
36        $(call Build/Compile/PyMod,, \
37                install --prefix="$(PKG_INSTALL_DIR)", \
38    )
39endef
40
41define Package/mercurial/install
42        $(INSTALL_DIR) $(1)/usr/bin
43        $(INSTALL_DIR) $(1)/usr/lib
44        $(CP) $(PKG_INSTALL_DIR)/bin $(1)/usr
45        $(CP) $(PKG_INSTALL_DIR)/lib $(1)/usr
46endef
47
48$(eval $(call BuildPackage,mercurial))
Note: See TracBrowser for help on using the repository browser.