2 # Copyright (C) 2006-2011 OpenWrt.org
4 # This is free software, licensed under the GNU General Public License v2.
5 # See /LICENSE for more information.
8 include $(TOPDIR
)/rules.mk
14 PKG_SOURCE
:=$(PKG_NAME
)-$(PKG_VERSION
).
tar.gz
15 PKG_SOURCE_URL
:=http
://mercurial.selenic.com
/release
16 PKG_MD5SUM
:=b3dcc3de473e003dd1cc0500dcd9de47
18 PKG_BUILD_DEPENDS
:=python-mini
20 include $(INCLUDE_DIR
)/package.mk
21 $(call include_mk
, python-package.mk
)
23 define Package
/mercurial
27 TITLE
:=Mercurial Source Control Management
(SCM
) system
28 URL
:=http
://mercurial.selenic.com
/
29 SUBMENU
:=Version Control Systems
32 define Package
/mercurial
/description
33 A fast
, lightweight Source Control Management system designed for efficient
34 handling of very large distributed projects.
38 $(call Build
/Compile
/PyMod
,, \
39 install --prefix="$(PKG_INSTALL_DIR)", \
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
/
50 $(eval
$(call BuildPackage
,mercurial
))