wok annotate bazaar/receipt @ rev 12960
lostirc: update bdeps
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Thu May 31 20:20:10 2012 +0200 (2012-05-31) |
parents | 73825207006f |
children | e1085ba13110 |
rev | line source |
---|---|
rcx@3569 | 1 # SliTaz package receipt. |
rcx@3569 | 2 |
rcx@3569 | 3 PACKAGE="bazaar" |
slaxemulator@12366 | 4 VERSION="2.5.0" |
rcx@3569 | 5 CATEGORY="development" |
rcx@3569 | 6 SHORT_DESC="A free distributed version control system." |
rcx@3569 | 7 MAINTAINER="rcx@zoominternet.net" |
slaxemulator@11012 | 8 SOURCE="bzr" |
rcx@3569 | 9 TARBALL="$SOURCE-$VERSION.tar.gz" |
rcx@3569 | 10 WEB_SITE="http://bazaar-vcs.org/" |
slaxemulator@12366 | 11 WGET_URL="https://launchpad.net/$SOURCE/${VERSION:0:3}/$VERSION/+download/$TARBALL" |
rcx@6007 | 12 TAGS="dvcs version-control versioning" |
rcx@3569 | 13 |
slaxemulator@11012 | 14 DEPENDS="glibc-base zlib python" |
pascal@12393 | 15 BUILD_DEPENDS="python python-dev wget" |
slaxemulator@11012 | 16 |
rcx@3569 | 17 # Rules to configure and make the package. |
rcx@3569 | 18 compile_rules() |
rcx@3569 | 19 { |
rcx@3569 | 20 cd $src |
rcx@3569 | 21 python setup.py install \ |
rcx@3569 | 22 --prefix=/usr \ |
slaxemulator@11012 | 23 --root=$DESTDIR \ |
rcx@3569 | 24 --no-compile |
rcx@3569 | 25 } |
rcx@3569 | 26 |
rcx@3569 | 27 # Rules to gen a SliTaz package suitable for Tazpkg. |
rcx@3569 | 28 genpkg_rules() |
rcx@3569 | 29 { |
rcx@3569 | 30 mkdir -p $fs/usr |
slaxemulator@11012 | 31 cp -a $install/usr/bin $fs/usr |
slaxemulator@11012 | 32 cp -a $install/usr/lib $fs/usr |
rcx@3569 | 33 } |