wok annotate bazaar/receipt @ rev 3569
Add: bazaar
author | Matthew Sheets <rcx@zoominternet.net> |
---|---|
date | Thu Jun 25 10:57:40 2009 +0000 (2009-06-25) |
parents | |
children | 9d636f54dbd4 |
rev | line source |
---|---|
rcx@3569 | 1 # SliTaz package receipt. |
rcx@3569 | 2 |
rcx@3569 | 3 PACKAGE="bazaar" |
rcx@3569 | 4 SOURCE="bzr" |
rcx@3569 | 5 VERSION="1.16" |
rcx@3569 | 6 CATEGORY="development" |
rcx@3569 | 7 SHORT_DESC="A free distributed version control system." |
rcx@3569 | 8 MAINTAINER="rcx@zoominternet.net" |
rcx@3569 | 9 DEPENDS="python" |
rcx@3569 | 10 BUILD_DEPENDS="python python-dev" |
rcx@3569 | 11 TARBALL="$SOURCE-$VERSION.tar.gz" |
rcx@3569 | 12 WEB_SITE="http://bazaar-vcs.org/" |
rcx@3569 | 13 WGET_URL="http://launchpad.net/$SOURCE/1.16/$VERSION/+download/$TARBALL" |
rcx@3569 | 14 |
rcx@3569 | 15 # Rules to configure and make the package. |
rcx@3569 | 16 compile_rules() |
rcx@3569 | 17 { |
rcx@3569 | 18 # Determine if BUILD_HOST has been defined in tazwok.conf as it should |
rcx@3569 | 19 if [ -z "$BUILD_HOST" ] ; then |
rcx@3569 | 20 # Provide a default TOOLPREFIX value |
rcx@3569 | 21 BUILD_HOST=i486-pc-linux-gnu |
rcx@3569 | 22 fi |
rcx@3569 | 23 |
rcx@3569 | 24 cd $src |
rcx@3569 | 25 |
rcx@3569 | 26 python setup.py install \ |
rcx@3569 | 27 --prefix=/usr \ |
rcx@3569 | 28 --root=$src/_pkg \ |
rcx@3569 | 29 --no-compile |
rcx@3569 | 30 } |
rcx@3569 | 31 |
rcx@3569 | 32 # Rules to gen a SliTaz package suitable for Tazpkg. |
rcx@3569 | 33 genpkg_rules() |
rcx@3569 | 34 { |
rcx@3569 | 35 mkdir -p $fs/usr |
rcx@3569 | 36 cp -a $_pkg/usr/bin $fs/usr |
rcx@3569 | 37 cp -a $_pkg/usr/lib $fs/usr |
rcx@3569 | 38 } |