Files
haikuports/dev-vcs/mercurial/mercurial-2.7.2.recipe
2013-10-16 16:33:54 -06:00

54 lines
1.0 KiB
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-2012 Matt Mackall et al."
LICENSE="GNU GPL v2"
SRC_URI="http://mercurial.selenic.com/release/mercurial-2.7.2.tar.gz"
CHECKSUM_MD5="ec00ddc6aadfea1e11b23650cb741d53"
REVISION="1"
ARCHITECTURES="?x86_gcc2 ?x86 ?x86_64"
PATCHES="mercurial-2.7.2.patch"
PROVIDES="
mercurial = $portVersion compat >= 2
cmd:hg = $portVersion compat >= 2
"
REQUIRES="
haiku_devel >= $haikuVersion
cmd:python
cmd:nano
lib:libintl
"
BUILD_REQUIRES="
"
BUILD_PREREQUIRES="
haiku_devel >= $haikuVersion
cmd:python
cmd:gcc
cmd:gettext
cmd:ld
cmd:make
"
SOURCE_DIR="$portVersionedName"
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
}