wok-current annotate bazaar/receipt @ rev 13585
sbxkb: add LDFLAGS
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Tue Nov 06 12:55:04 2012 +0100 (2012-11-06) |
parents | 57bce42264e0 |
children | 0bf456387ed6 |
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 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 } |