wok annotate bazaar/receipt @ rev 9993
hal-dev: add missing deps
author | Eric Joseph-Alexandre <erjo@slitaz.org> |
---|---|
date | Thu May 19 00:45:38 2011 +0200 (2011-05-19) |
parents | 7dd4aea53785 |
children | b482856e3671 |
rev | line source |
---|---|
rcx@3569 | 1 # SliTaz package receipt. |
rcx@3569 | 2 |
rcx@3569 | 3 PACKAGE="bazaar" |
rcx@3569 | 4 SOURCE="bzr" |
slaxemulator@8592 | 5 VERSION="2.3.0" |
rcx@3569 | 6 CATEGORY="development" |
rcx@3569 | 7 SHORT_DESC="A free distributed version control system." |
rcx@3569 | 8 MAINTAINER="rcx@zoominternet.net" |
rcx@3570 | 9 DEPENDS="glibc-base zlib 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@6007 | 13 WGET_URL="http://launchpad.net/$SOURCE/${VERSION%.*}/$VERSION/+download/$TARBALL" |
rcx@6007 | 14 TAGS="dvcs version-control versioning" |
rcx@3569 | 15 |
rcx@3569 | 16 # Rules to configure and make the package. |
rcx@3569 | 17 compile_rules() |
rcx@3569 | 18 { |
rcx@3569 | 19 cd $src |
rcx@3569 | 20 python setup.py install \ |
rcx@3569 | 21 --prefix=/usr \ |
rcx@3569 | 22 --root=$src/_pkg \ |
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 |
rcx@3569 | 30 cp -a $_pkg/usr/bin $fs/usr |
rcx@3569 | 31 cp -a $_pkg/usr/lib $fs/usr |
rcx@3569 | 32 } |