wok-current view bazaar/receipt @ rev 25434
Up znc (1.8.2)
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Mon Aug 29 10:14:47 2022 +0000 (2022-08-29) |
parents | 443034656373 |
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="http://bazaar.canonical.com/en/"
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 }