SliTaz Packages

Community Doc Forum Pro Shop Bugs Hg
.

Receipt for package "bazaar"

# SliTaz package receipt.

PACKAGE="bazaar"
VERSION="2.7.0"
CATEGORY="development"
TAGS="dvcs version-control versioning"
SHORT_DESC="A free distributed version control system."
MAINTAINER="rcx@zoominternet.net"
LICENSE="GPL2"
WEB_SITE="http://bazaar.canonical.com/en/"

SOURCE="bzr"
TARBALL="$SOURCE-$VERSION.tar.gz"
WGET_URL="https://launchpad.net/$SOURCE/${VERSION:0:3}/$VERSION/+download/$TARBALL"

DEPENDS="glibc-base python zlib"
BUILD_DEPENDS="python python-dev"

# What is the latest version available today?
current_version()
{
    wget -O - https://launchpad.net/bzr/+download 2>/dev/null | \
    sed '/elease-/!d;s|.*="[a-z-]*||;s|".*||;s|-|.|g;q'
}

# Rules to configure and make the package.
compile_rules()
{
    python setup.py install    \
        --prefix=/usr    \
        --root=$DESTDIR    \
        --no-compile

    mkdir -p $install/usr/share
    mv $install/usr/man    $install/usr/share
}

# Rules to gen a SliTaz package suitable for Tazpkg.
genpkg_rules()
{
    mkdir -p $fs/usr

    cp -a $install/usr/bin    $fs/usr
    cp -a $install/usr/lib    $fs/usr
}
6025 packages and 203154 files in current database (Thu Apr 25 06:17:47 2024)