mirror of
https://github.com/yann64/haikuports.git
synced 2026-05-05 06:28:55 +02:00
* convert all .bep files to follow shell syntax
* rename all .bep files to .recipe
This commit is contained in:
37
dev-vcs/bzr/bzr-2.6b1.recipe
Normal file
37
dev-vcs/bzr/bzr-2.6b1.recipe
Normal file
@@ -0,0 +1,37 @@
|
||||
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"
|
||||
Reference in New Issue
Block a user