WIP bzr .recipe, not yet building

This commit is contained in:
Scott McCreary
2013-11-03 21:19:37 -08:00
parent 1d14a7e1a5
commit 85b432a532
7 changed files with 47 additions and 225 deletions

View File

@@ -1,40 +0,0 @@
DESCRIPTION="Bazaar"
HOMEPAGE="https://launchpad.net/bzr/"
SRC_URI="http://launchpad.net/bzr/2.2/2.2.0/+download/bzr-2.2.0.tar.gz"
CHECKSUM_MD5="e47fa50e1fedc01c4761925e9d0d39ac"
REVISION="1"
STATUS_HAIKU="stable"
DEPEND=""
BUILD()
{
cd bzr-2.2.0
if [ -n "$(setgcc | grep '2')" ]; then
python setup.py build_ext --allow-python-fallback
else
python setup.py build
fi
}
INSTALL()
{
cd bzr-2.2.0
COMMON_DIR=`finddir B_COMMON_DIRECTORY`
COMMON_DOCS=`finddir B_COMMON_DOCUMENTATION_DIRECTORY`
if [ -n "$(setgcc | grep '2')" ]; then
python setup.py build_ext --allow-python-fallback install --prefix=$COMMON_DIR --root=${DESTDIR}
else
python setup.py install --prefix=$COMMON_DIR --root=${DESTDIR}
fi
## Now put the man file(s) in the correct directory
mkdir -p ${DESTDIR}$COMMON_DOCS/man/man1
mv ${DESTDIR}/$COMMON_DIR/man/man1/bzr* ${DESTDIR}/$COMMON_DOCS/man/man1/
if [ -e "${DESTDIR}" ]; then
rm -rf ${DESTDIR}/$COMMON_DIR/man
fi
}
LICENSE="GNU GPL v2
GNU GPL v3"
COPYRIGHT="2007-2010 The Bazaar Team"

View File

@@ -1,37 +0,0 @@
DESCRIPTION="Bazaar"
HOMEPAGE="https://launchpad.net/bzr/"
SRC_URI="http://launchpad.net/bzr/2.2/2.2.1/+download/bzr-2.2.1.tar.gz"
CHECKSUM_MD5="8a6abd8f888fb3e0845e2044d41a24bc"
REVISION="1"
STATUS_HAIKU="stable"
DEPEND=""
BUILD()
{
cd bzr-2.2.1
if [ -n "$(setgcc | grep '2')" ]; then
python setup.py build_ext --allow-python-fallback
else
python setup.py build
fi
}
INSTALL()
{
cd bzr-2.2.1
if [ -n "$(setgcc | grep '2')" ]; then
python setup.py build_ext --allow-python-fallback install --prefix=`finddir B_COMMON_DIRECTORY` --root=${DESTDIR}
else
python setup.py install --prefix=`finddir B_COMMON_DIRECTORY` --root=${DESTDIR}
fi
## Now put the man file(s) in the correct directory
mkdir -p ${DESTDIR}$(finddir B_COMMON_DOCUMENTATION_DIRECTORY)/man/man1
mv ${DESTDIR}/$(finddir B_COMMON_DIRECTORY)/man/man1/bzr* ${DESTDIR}/$(finddir B_COMMON_DOCUMENTATION_DIRECTORY)/man/man1/
if [ -e "${DESTDIR}" ]; then
rm -rf ${DESTDIR}/$(finddir B_COMMON_DIRECTORY)/man
fi
}
LICENSE="GNU GPL v2
GNU GPL v3"
COPYRIGHT="2007-2010 The Bazaar Team"

View File

@@ -1,37 +0,0 @@
DESCRIPTION="Bazaar"
HOMEPAGE="https://launchpad.net/bzr/"
SRC_URI="http://launchpad.net/bzr/2.2/2.2.2/+download/bzr-2.2.2.tar.gz"
CHECKSUM_MD5="d1bfa2fd1aad282c423c78d62ebacb21"
REVISION="1"
STATUS_HAIKU="stable"
DEPEND=""
BUILD()
{
cd bzr-2.2.2
if [ -n "$(setgcc | grep '2')" ]; then
python setup.py build_ext --allow-python-fallback
else
python setup.py build
fi
}
INSTALL()
{
cd bzr-2.2.2
if [ -n "$(setgcc | grep '2')" ]; then
python setup.py build_ext --allow-python-fallback install --prefix=`finddir B_COMMON_DIRECTORY` --root=${DESTDIR}
else
python setup.py install --prefix=`finddir B_COMMON_DIRECTORY` --root=${DESTDIR}
fi
## Now put the man file(s) in the correct directory
mkdir -p ${DESTDIR}$(finddir B_COMMON_DOCUMENTATION_DIRECTORY)/man/man1
mv ${DESTDIR}/$(finddir B_COMMON_DIRECTORY)/man/man1/bzr* ${DESTDIR}/$(finddir B_COMMON_DOCUMENTATION_DIRECTORY)/man/man1/
if [ -e "${DESTDIR}" ]; then
rm -rf ${DESTDIR}/$(finddir B_COMMON_DIRECTORY)/man
fi
}
LICENSE="GNU GPL v2
GNU GPL v3"
COPYRIGHT="2007-2010 The Bazaar Team"

View File

@@ -1,37 +0,0 @@
DESCRIPTION="Bazaar"
HOMEPAGE="https://launchpad.net/bzr/"
SRC_URI="http://launchpad.net/bzr/2.2/2.2b4/+download/bzr-2.2b4.tar.gz"
CHECKSUM_MD5="974722332a457dbb5ba1f05e9ed4fb9e"
REVISION="1"
STATUS_HAIKU="stable"
DEPEND=""
BUILD()
{
cd bzr-2.2b4
if [ -n "$(setgcc | grep '2')" ]; then
python setup.py build_ext --allow-python-fallback
else
python setup.py build
fi
}
INSTALL()
{
cd bzr-2.2b4
if [ -n "$(setgcc | grep '2')" ]; then
python setup.py build_ext --allow-python-fallback install --prefix=`finddir B_COMMON_DIRECTORY` --root=${DESTDIR}
else
python setup.py install --prefix=`finddir B_COMMON_DIRECTORY` --root=${DESTDIR}
fi
## Now put the man file(s) in the correct directory
mkdir -p ${DESTDIR}$(finddir B_COMMON_DOCUMENTATION_DIRECTORY)/man/man1
mv ${DESTDIR}/$(finddir B_COMMON_DIRECTORY)/man/man1/bzr* ${DESTDIR}/$(finddir B_COMMON_DOCUMENTATION_DIRECTORY)/man/man1/
if [ -e "${DESTDIR}" ]; then
rm -rf ${DESTDIR}/$(finddir B_COMMON_DIRECTORY)/man
fi
}
LICENSE="GNU GPL v2
GNU GPL v3"
COPYRIGHT="2007-2010 The Bazaar Team"

View File

@@ -1,37 +0,0 @@
DESCRIPTION="Bazaar"
HOMEPAGE="https://launchpad.net/bzr/"
SRC_URI="http://launchpad.net/bzr/2.5/2.5.1/+download/bzr-2.5.1.tar.gz"
CHECKSUM_MD5="ac5079858364a046071000d5cdccb67b"
REVISION="1"
STATUS_HAIKU="stable"
DEPEND=""
BUILD()
{
cd bzr-2.5.1
if [ -n "$(setgcc | grep '2')" ]; then
python setup.py build_ext --allow-python-fallback
else
python setup.py build
fi
}
INSTALL()
{
cd bzr-2.5.1
if [ -n "$(setgcc | grep '2')" ]; then
python setup.py build_ext --allow-python-fallback install --prefix=$COMMON_DIR --root=${DESTDIR}
else
python setup.py install --prefix=$COMMON_DIR --root=${DESTDIR}
fi
## Now put the man file(s) in the correct directory
mkdir -p ${DESTDIR}$COMMON_DOCS/man/man1
mv ${DESTDIR}/$COMMON_DIR/man/man1/bzr* ${DESTDIR}/$COMMON_DOCS/man/man1/
if [ -e "${DESTDIR}" ]; then
rm -rf ${DESTDIR}/$COMMON_DIR/man
fi
}
LICENSE="GNU GPL v2
GNU GPL v3"
COPYRIGHT="2007-2012 The Bazaar Team"

View File

@@ -0,0 +1,47 @@
SUMMARY="Bazaar is a friendly powerful distributed version control system"
DESCRIPTION="Bazaar is a friendly powerful distributed version control system"
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"
REVISION="1"
LICENSE="GNU GPL v2"
COPYRIGHT="2005-2013 Canonical"
ARCHITECTURES="!x86_gcc2 !x86 !x86_64"
PROVIDES="
bzr = $portVersion compat >= 2.6
cmd:bzr = $portVersion compat >= 2.6
bazaar = $portVersion compat >= 2.6
"
REQUIRES="
haiku_devel >= $haikuVersion
cmd:python
"
BUILD_REQUIRES="
"
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
}
INSTALL()
{
python setup.py install \
--prefix="$prefix" \
--install-headers="$includedir" \
--force
}

View File

@@ -1,37 +0,0 @@
DESCRIPTION="Bazaar"
HOMEPAGE="https://launchpad.net/bzr/"
SRC_URI="http://launchpad.net/bzr/2.6/2.6b1/+download/bzr-2.6b1.tar.gz"
CHECKSUM_MD5="d2319a1a793d47d8b02ca33298742ad7"
REVISION="1"
STATUS_HAIKU="stable"
DEPEND=""
BUILD()
{
cd bzr-2.6b1
if [ -n "$(setgcc | grep '2')" ]; then
python setup.py build_ext --allow-python-fallback
else
python setup.py build
fi
}
INSTALL()
{
cd bzr-2.6b1
if [ -n "$(setgcc | grep '2')" ]; then
python setup.py build_ext --allow-python-fallback install --prefix=`finddir B_COMMON_DIRECTORY` --root=${DESTDIR}
else
python setup.py install --prefix=`finddir B_COMMON_DIRECTORY` --root=${DESTDIR}
fi
## Now put the man file(s) in the correct directory
mkdir -p ${DESTDIR}$(finddir B_COMMON_DOCUMENTATION_DIRECTORY)/man/man1
mv ${DESTDIR}/$(finddir B_COMMON_DIRECTORY)/man/man1/bzr* ${DESTDIR}/$(finddir B_COMMON_DOCUMENTATION_DIRECTORY)/man/man1/
if [ -e "${DESTDIR}" ]; then
rm -rf ${DESTDIR}/$(finddir B_COMMON_DIRECTORY)/man
fi
}
LICENSE="GNU GPL v2
GNU GPL v3"
COPYRIGHT="2007-2012 The Bazaar Team"