# HG changeset patch # User Matthew Sheets # Date 1245927460 0 # Node ID fd182f8fab155e6a150cf8bc75a45ac1496664ab # Parent f9e78593eb5876f82f2ee3303c704f2cbea43d0a Add: bazaar diff -r f9e78593eb58 -r fd182f8fab15 bazaar/receipt --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/bazaar/receipt Thu Jun 25 10:57:40 2009 +0000 @@ -0,0 +1,38 @@ +# SliTaz package receipt. + +PACKAGE="bazaar" +SOURCE="bzr" +VERSION="1.16" +CATEGORY="development" +SHORT_DESC="A free distributed version control system." +MAINTAINER="rcx@zoominternet.net" +DEPENDS="python" +BUILD_DEPENDS="python python-dev" +TARBALL="$SOURCE-$VERSION.tar.gz" +WEB_SITE="http://bazaar-vcs.org/" +WGET_URL="http://launchpad.net/$SOURCE/1.16/$VERSION/+download/$TARBALL" + +# Rules to configure and make the package. +compile_rules() +{ + # Determine if BUILD_HOST has been defined in tazwok.conf as it should + if [ -z "$BUILD_HOST" ] ; then + # Provide a default TOOLPREFIX value + BUILD_HOST=i486-pc-linux-gnu + fi + + cd $src + + python setup.py install \ + --prefix=/usr \ + --root=$src/_pkg \ + --no-compile +} + +# Rules to gen a SliTaz package suitable for Tazpkg. +genpkg_rules() +{ + mkdir -p $fs/usr + cp -a $_pkg/usr/bin $fs/usr + cp -a $_pkg/usr/lib $fs/usr +}