wok-current annotate bazaar/receipt @ rev 25524
created recipes for tree-sitter and tree-sitter-dev 0.20.7
author | Hans-G?nter Theisgen |
---|---|
date | Fri Feb 24 17:21:52 2023 +0100 (18 months ago) |
parents | 443034656373 |
children |
rev | line source |
---|---|
rcx@3569 | 1 # SliTaz package receipt. |
rcx@3569 | 2 |
rcx@3569 | 3 PACKAGE="bazaar" |
Hans-G?nter@22532 | 4 VERSION="2.7.0" |
rcx@3569 | 5 CATEGORY="development" |
Hans-G?nter@22532 | 6 TAGS="dvcs version-control versioning" |
rcx@3569 | 7 SHORT_DESC="A free distributed version control system." |
rcx@3569 | 8 MAINTAINER="rcx@zoominternet.net" |
pascal@15202 | 9 LICENSE="GPL2" |
Hans-G?nter@22532 | 10 WEB_SITE="http://bazaar.canonical.com/en/" |
Hans-G?nter@22532 | 11 |
slaxemulator@11012 | 12 SOURCE="bzr" |
rcx@3569 | 13 TARBALL="$SOURCE-$VERSION.tar.gz" |
slaxemulator@12366 | 14 WGET_URL="https://launchpad.net/$SOURCE/${VERSION:0:3}/$VERSION/+download/$TARBALL" |
rcx@3569 | 15 |
Hans-G?nter@22532 | 16 DEPENDS="glibc-base python zlib" |
Hans-G?nter@22532 | 17 BUILD_DEPENDS="python python-dev" |
slaxemulator@11012 | 18 |
pascal@24373 | 19 # What is the latest version available today? |
pascal@24373 | 20 current_version() |
pascal@24373 | 21 { |
pascal@24373 | 22 wget -O - https://launchpad.net/bzr/+download 2>/dev/null | \ |
pascal@24373 | 23 sed '/elease-/!d;s|.*="[a-z-]*||;s|".*||;s|-|.|g;q' |
pascal@24373 | 24 } |
pascal@24373 | 25 |
rcx@3569 | 26 # Rules to configure and make the package. |
rcx@3569 | 27 compile_rules() |
rcx@3569 | 28 { |
Hans-G?nter@22532 | 29 python setup.py install \ |
Hans-G?nter@22532 | 30 --prefix=/usr \ |
Hans-G?nter@22532 | 31 --root=$DESTDIR \ |
rcx@3569 | 32 --no-compile |
al@19275 | 33 |
al@19275 | 34 mkdir -p $install/usr/share |
Hans-G?nter@22532 | 35 mv $install/usr/man $install/usr/share |
rcx@3569 | 36 } |
rcx@3569 | 37 |
rcx@3569 | 38 # Rules to gen a SliTaz package suitable for Tazpkg. |
rcx@3569 | 39 genpkg_rules() |
rcx@3569 | 40 { |
rcx@3569 | 41 mkdir -p $fs/usr |
Hans-G?nter@22532 | 42 |
Hans-G?nter@22532 | 43 cp -a $install/usr/bin $fs/usr |
Hans-G?nter@22532 | 44 cp -a $install/usr/lib $fs/usr |
rcx@3569 | 45 } |