wok-6.x annotate bazaar/receipt @ rev 15088
py3k: add bdeps...
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Tue Aug 13 21:00:08 2013 +0000 (2013-08-13) |
parents | e1085ba13110 |
children | 223b265f40fd |
rev | line source |
---|---|
rcx@3569 | 1 # SliTaz package receipt. |
rcx@3569 | 2 |
rcx@3569 | 3 PACKAGE="bazaar" |
slaxemulator@13097 | 4 VERSION="2.5.1" |
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 python setup.py install \ |
rcx@3569 | 21 --prefix=/usr \ |
slaxemulator@11012 | 22 --root=$DESTDIR \ |
rcx@3569 | 23 --no-compile |
rcx@3569 | 24 } |
rcx@3569 | 25 |
rcx@3569 | 26 # Rules to gen a SliTaz package suitable for Tazpkg. |
rcx@3569 | 27 genpkg_rules() |
rcx@3569 | 28 { |
rcx@3569 | 29 mkdir -p $fs/usr |
slaxemulator@11012 | 30 cp -a $install/usr/bin $fs/usr |
slaxemulator@11012 | 31 cp -a $install/usr/lib $fs/usr |
rcx@3569 | 32 } |