mirror of
https://github.com/yann64/haikuports.git
synced 2026-05-04 22:18:55 +02:00
Update mercurial to 2.8.1
Changed the requires because mercurial only needs the msgfmt tool at build time. --HG-- rename : dev-vcs/mercurial/mercurial-2.8.recipe => dev-vcs/mercurial/mercurial-2.8.1.recipe rename : dev-vcs/mercurial/patches/mercurial-2.8.patch => dev-vcs/mercurial/patches/mercurial-2.8.1.patch
This commit is contained in:
54
dev-vcs/mercurial/mercurial-2.8.1.recipe
Normal file
54
dev-vcs/mercurial/mercurial-2.8.1.recipe
Normal file
@@ -0,0 +1,54 @@
|
||||
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.8.1.tar.gz"
|
||||
CHECKSUM_MD5="bede5869f9b5d09ab3269bac472495e7"
|
||||
REVISION="1"
|
||||
ARCHITECTURES="x86_gcc2 x86 x86_64"
|
||||
|
||||
PATCHES="mercurial-2.8.1.patch"
|
||||
|
||||
PROVIDES="
|
||||
mercurial = $portVersion compat >= 2
|
||||
cmd:hg = $portVersion compat >= 2
|
||||
"
|
||||
|
||||
REQUIRES="
|
||||
haiku_devel >= $haikuVersion
|
||||
cmd:python
|
||||
cmd:nano
|
||||
"
|
||||
|
||||
BUILD_REQUIRES="
|
||||
haiku_devel >= $haikuVersion
|
||||
"
|
||||
|
||||
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
|
||||
}
|
||||
Reference in New Issue
Block a user