Files
haikuports/dev-vcs/mercurial/mercurial-3.2.1.recipe
2014-11-15 16:20:58 -07:00

56 lines
1022 B
Plaintext

SUMMARY="Free, distributed source control management tool"
DESCRIPTION="
Mercurial is a free, distributed source control management tool.
"
HOMEPAGE="http://mercurial.selenic.com/"
COPYRIGHT="2005-2014 Matt Mackall et al."
LICENSE="GNU GPL v2"
SRC_URI="http://mercurial.selenic.com/release/mercurial-$portVersion.tar.gz"
CHECKSUM_SHA256="26418276fbc36850782f1f4feb30da4a83800b48493082985c4d3ac29ad0ca0f"
REVISION="2"
ARCHITECTURES="x86_gcc2 x86 x86_64"
PATCHES="mercurial-3.2.1.patch"
PROVIDES="
mercurial = $portVersion compat >= 3
cmd:hg = $portVersion compat >= 3
"
REQUIRES="
haiku_devel >= $haikuVersion
cmd:python < 3
cmd:nano
"
BUILD_REQUIRES="
haiku_devel >= $haikuVersion
"
BUILD_PREREQUIRES="
cmd:python < 3
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" \
--force
}
TEST()
{
cd tests
python run-tests.py
}