Files
haikuports/dev-vcs/bzr/bzr-2.6.0.recipe
Oliver Tappe 52b344b97b Drop references to $haikuVersion.
* Referring the current haiku version explicitly is not needed, since
  the RequiresUpdater takes care of setting the version of Haiku used
  for building a package.
2014-12-14 23:08:52 +01:00

66 lines
1.6 KiB
Plaintext

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"
SRC_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"
#if [ $effectiveTargetArchitecture != x86_gcc2 ]; then
# # x86_gcc2 is fine as primary target architecture as long as we're building
# # for a different secondary architecture.
# ARCHITECTURES="$ARCHITECTURES x86_gcc2"
#else
# ARCHITECTURES="$ARCHITECTURES !x86_gcc2"
#fi
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
"
BUILD_REQUIRES="
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
}