wok view bazaar/receipt @ rev 25682
Up libqcow (20240308)
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Sun Mar 24 18:25:46 2024 +0000 (5 months ago) |
parents | 9af0e03b8ad0 |
children |
line source
1 # SliTaz package receipt.
3 PACKAGE="bazaar"
4 VERSION="2.7.0"
5 CATEGORY="development"
6 TAGS="dvcs version-control versioning"
7 SHORT_DESC="A free distributed version control system."
8 MAINTAINER="rcx@zoominternet.net"
9 LICENSE="GPL2"
10 WEB_SITE="https://pypi.org/project/bzr/"
12 SOURCE="bzr"
13 TARBALL="$SOURCE-$VERSION.tar.gz"
14 WGET_URL="https://launchpad.net/$SOURCE/${VERSION:0:3}/$VERSION/+download/$TARBALL"
16 DEPENDS="glibc-base python zlib"
17 BUILD_DEPENDS="python python-dev"
19 # What is the latest version available today?
20 current_version()
21 {
22 wget -O - https://launchpad.net/bzr/+download 2>/dev/null | \
23 sed '/elease-/!d;s|.*="[a-z-]*||;s|".*||;s|-|.|g;q'
24 }
26 # Rules to configure and make the package.
27 compile_rules()
28 {
29 python setup.py install \
30 --prefix=/usr \
31 --root=$DESTDIR \
32 --no-compile
34 mkdir -p $install/usr/share
35 mv $install/usr/man $install/usr/share
36 }
38 # Rules to gen a SliTaz package suitable for Tazpkg.
39 genpkg_rules()
40 {
41 mkdir -p $fs/usr
43 cp -a $install/usr/bin $fs/usr
44 cp -a $install/usr/lib $fs/usr
45 }