wok annotate bazaar/receipt @ rev 19685
Up tazpkg (942)
author | Aleksej Bobylev <al.bobylev@gmail.com> |
---|---|
date | Sun Feb 12 04:43:38 2017 +0200 (2017-02-12) |
parents | 6c8e8aae3fbc |
children | 324c13268efe |
rev | line source |
---|---|
rcx@3569 | 1 # SliTaz package receipt. |
rcx@3569 | 2 |
rcx@3569 | 3 PACKAGE="bazaar" |
slaxemulator@15820 | 4 VERSION="2.6.0" |
rcx@3569 | 5 CATEGORY="development" |
rcx@3569 | 6 SHORT_DESC="A free distributed version control system." |
rcx@3569 | 7 MAINTAINER="rcx@zoominternet.net" |
pascal@15202 | 8 LICENSE="GPL2" |
al@19275 | 9 WEB_SITE="http://bazaar-vcs.org/" |
slaxemulator@11012 | 10 SOURCE="bzr" |
rcx@3569 | 11 TARBALL="$SOURCE-$VERSION.tar.gz" |
slaxemulator@12366 | 12 WGET_URL="https://launchpad.net/$SOURCE/${VERSION:0:3}/$VERSION/+download/$TARBALL" |
rcx@6007 | 13 TAGS="dvcs version-control versioning" |
rcx@3569 | 14 |
slaxemulator@11012 | 15 DEPENDS="glibc-base zlib python" |
pascal@12393 | 16 BUILD_DEPENDS="python python-dev wget" |
slaxemulator@11012 | 17 |
rcx@3569 | 18 # Rules to configure and make the package. |
rcx@3569 | 19 compile_rules() |
rcx@3569 | 20 { |
rcx@3569 | 21 python setup.py install \ |
rcx@3569 | 22 --prefix=/usr \ |
slaxemulator@11012 | 23 --root=$DESTDIR \ |
rcx@3569 | 24 --no-compile |
al@19275 | 25 |
al@19275 | 26 mkdir -p $install/usr/share |
al@19275 | 27 mv $install/usr/man $install/usr/share |
rcx@3569 | 28 } |
rcx@3569 | 29 |
rcx@3569 | 30 # Rules to gen a SliTaz package suitable for Tazpkg. |
rcx@3569 | 31 genpkg_rules() |
rcx@3569 | 32 { |
rcx@3569 | 33 mkdir -p $fs/usr |
slaxemulator@11012 | 34 cp -a $install/usr/bin $fs/usr |
slaxemulator@11012 | 35 cp -a $install/usr/lib $fs/usr |
rcx@3569 | 36 } |