* convert all .bep files to follow shell syntax

* rename all .bep files to .recipe
This commit is contained in:
Oliver Tappe
2013-03-29 16:31:03 +00:00
parent 94cc6aaf85
commit 60aba35d64
937 changed files with 4094 additions and 2047 deletions

View File

@@ -0,0 +1,33 @@
DESCRIPTION="Mercurial is a free, distributed source control management tool"
HOMEPAGE="http://mercurial.selenic.com/"
SRC_URI="http://mercurial.selenic.com/release/mercurial-2.2.2.tar.gz"
CHECKSUM_MD5="9f59b5d71969cbb2671702cd2a7a5a11"
REVISION="1"
STATUS_HAIKU="stable"
DEPEND="dev-lang/python >= 2.3"
BUILD()
{
cd mercurial-2.2.2
python setup.py build --force
}
INSTALL()
{
cd mercurial-2.2.2
if [ -n "${DESTDIR}" ];then
python setup.py install --root="${DESTDIR}" --prefix="$(finddir B_COMMON_DIRECTORY)" --force
else
python setup.py install --prefix="$(finddir B_COMMON_DIRECTORY)" --force
fi
}
TEST()
{
cd mercurial-2.2.2/tests
shopt -s extglob
sed -i 's,/usr/bin/env,/bin/env,' !(blacklists|bundles|gpg|svn)
python run-tests.py
}
LICENSE="GNU GPL v2"
COPYRIGHT="2005-2012 Matt Mackall et al."