Convert bzr to recipe

Some of the work was done as part of issue #30
I did a moderate amount of fixing to the recipe but bzr doesn't
behave very well. So leaving it marked as broken.

It has trouble finding our ssl certs directory.  Our wget also
had trouble with certs using the original url in that issue. This
can be worked around at runtime by setting command line or config
options.

When doing a test clone of the bzr repo it failed to completely
check out the source with some odd out of memory error.  I seem
to recall bzr having this sort of trouble before on Haiku.
This commit is contained in:
Chris Roberts
2013-11-21 17:37:09 -07:00
parent f82fa818f0
commit 25703dafee

View File

@@ -1,47 +1,50 @@
SUMMARY="Bazaar is a friendly powerful distributed version control system"
DESCRIPTION="Bazaar is a friendly powerful distributed version control system"
DESCRIPTION="
Bazaar is a version control system that helps you track project
history over time and to collaborate easily with others. Whether
you're a single developer, a co-located team or a community of
developers scattered across the world, Bazaar scales and adapts to
meet your needs. Part of the GNU Project, Bazaar is free software
sponsored by Canonical.
"
HOMEPAGE="http://bazaar.canonical.com"
SRC_URI="https://launchpad.net/bzr/2.6/2.6.0/+download/bzr-2.6.0.tar.gz"
CHECKSUM_MD5="28c86653d0df10d202c6b842deb0ea35"
SRC_URI="https://launchpadlibrarian.net/145980211/bzr-2.6.0.tar.gz"
REVISION="1"
LICENSE="GNU GPL v2"
COPYRIGHT="2005-2013 Canonical"
CHECKSUM_MD5="28c86653d0df10d202c6b842deb0ea35"
ARCHITECTURES="!x86_gcc2 !x86 !x86_64"
ARCHITECTURES="!x86 !x86_gcc2 !x86_64"
PROVIDES="
bzr = $portVersion compat >= 2.6
cmd:bzr = $portVersion compat >= 2.6
bazaar = $portVersion compat >= 2.6
bzr = $portVersion compat >= 2.6.0
cmd:bzr = $portVersion compat >= 2.6.0
"
REQUIRES="
haiku_devel >= $haikuVersion
haiku >= $haikuVersion
cmd:python
"
BUILD_REQUIRES="
haiku_devel >= $haikuVersion
"
BUILD_PREREQUIRES="
haiku_devel >= $haikuVersion
cmd:python
cmd:gcc
cmd:ld
cmd:make
"
SOURCE_DIR="bzr-$portVersion"
BUILD()
{
python setup.py build_ext --allow-python-fallback --force
python setup.py build
}
INSTALL()
{
python setup.py install \
--prefix="$prefix" \
--install-headers="$includedir" \
--force
--prefix=$prefix \
--install-data=$manDir
}