Files
haikuports/dev-vcs/bzr/bzr-2.6.0.recipe
2015-08-04 12:08:31 -04:00

58 lines
1.3 KiB
Bash

SUMMARY="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"
SOURCE_URI="https://launchpadlibrarian.net/145980211/bzr-2.6.0.tar.gz"
CHECKSUM_SHA256="0994797182eb828867eee81cccc79480bd2946c99304266bc427b902cf91dab0"
REVISION="2"
LICENSE="GNU GPL v2"
COPYRIGHT="2005-2013 Canonical"
ARCHITECTURES="x86_gcc2 !x86 !x86_64"
SECONDARY_ARCHITECTURES="!x86"
PROVIDES="
bzr = $portVersion compat >= 2.6.0
cmd:bzr = $portVersion compat >= 2.6.0
"
REQUIRES="
haiku
lib:libpython2.7$secondaryArchSuffix
cmd:python
"
S="
haiku${secondaryArchSuffix}_devel
devel:libpython2.7$secondaryArchSuffix
"
BUILD_PREREQUIRES="
cmd:python
cmd:gcc$secondaryArchSuffix
cmd:ld$secondaryArchSuffix
cmd:msgfmt
"
SOURCE_DIR="bzr-$portVersion"
if [ $effectiveTargetArchitecture = x86_gcc2 ]; then
PATCHES="bzr-2.6.0_gcc2.patchset"
fi
BUILD()
{
python setup.py build
}
INSTALL()
{
python setup.py install \
--prefix=$prefix \
--install-data=$manDir
}