wok-next rev 3569

Add: bazaar
author Matthew Sheets <rcx@zoominternet.net>
date Thu Jun 25 10:57:40 2009 +0000 (2009-06-25)
parents f9e78593eb58
children 9d636f54dbd4
files bazaar/receipt
line diff
     1.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
     1.2 +++ b/bazaar/receipt	Thu Jun 25 10:57:40 2009 +0000
     1.3 @@ -0,0 +1,38 @@
     1.4 +# SliTaz package receipt.
     1.5 +
     1.6 +PACKAGE="bazaar"
     1.7 +SOURCE="bzr"
     1.8 +VERSION="1.16"
     1.9 +CATEGORY="development"
    1.10 +SHORT_DESC="A free distributed version control system."
    1.11 +MAINTAINER="rcx@zoominternet.net"
    1.12 +DEPENDS="python"
    1.13 +BUILD_DEPENDS="python python-dev"
    1.14 +TARBALL="$SOURCE-$VERSION.tar.gz"
    1.15 +WEB_SITE="http://bazaar-vcs.org/"
    1.16 +WGET_URL="http://launchpad.net/$SOURCE/1.16/$VERSION/+download/$TARBALL"
    1.17 +
    1.18 +# Rules to configure and make the package.
    1.19 +compile_rules()
    1.20 +{
    1.21 +	# Determine if BUILD_HOST has been defined in tazwok.conf as it should
    1.22 +	if [ -z "$BUILD_HOST" ] ; then
    1.23 +		# Provide a default TOOLPREFIX value
    1.24 +		BUILD_HOST=i486-pc-linux-gnu
    1.25 +	fi
    1.26 +
    1.27 +	cd $src
    1.28 +
    1.29 +	python setup.py install \
    1.30 +		--prefix=/usr \
    1.31 +		--root=$src/_pkg \
    1.32 +		--no-compile
    1.33 +}
    1.34 +
    1.35 +# Rules to gen a SliTaz package suitable for Tazpkg.
    1.36 +genpkg_rules()
    1.37 +{
    1.38 +	mkdir -p $fs/usr
    1.39 +	cp -a $_pkg/usr/bin $fs/usr
    1.40 +	cp -a $_pkg/usr/lib $fs/usr
    1.41 +}