Files
haikuports/dev-vcs/mercurial/mercurial-2.9.1.recipe
2015-07-02 11:13:12 -04:00

57 lines
1012 B
Bash

SUMMARY="Free, distributed source control management tool"
DESCRIPTION="
Mercurial is a free, distributed source control management tool.
"
HOMEPAGE="http://mercurial.selenic.com/"
COPYRIGHT="2005-2012 Matt Mackall et al."
LICENSE="GNU GPL v2"
SOURCE_URI="http://mercurial.selenic.com/release/mercurial-2.9.1.tar.gz"
CHECKSUM_SHA256="a20fb1434ecbdb070ef955c7c292db9eb2676bfc1ac165e95ba73866623bc01a"
REVISION="1"
ARCHITECTURES="x86_gcc2 x86 x86_64"
PATCHES="mercurial-2.9.1.patch"
PROVIDES="
mercurial = $portVersion compat >= 2
cmd:hg = $portVersion compat >= 2
"
REQUIRES="
haiku_devel
cmd:python
cmd:nano
"
BUILD_REQUIRES="
haiku_devel
"
BUILD_PREREQUIRES="
cmd:python
cmd:gcc
cmd:gettext
cmd:ld
cmd:make
cmd:msgfmt
"
BUILD()
{
$portPackageLinksDir/cmd~python/bin/python setup.py build --force
}
INSTALL()
{
$portPackageLinksDir/cmd~python/bin/python setup.py install \
--prefix="$prefix" \
--install-headers="$includedir" \
--force
}
TEST()
{
cd tests
python run-tests.py
}