SliTaz Packages

Community Doc Forum Pro Shop Bugs Hg
.

Receipt for package "coccinella"

# SliTaz package receipt.

PACKAGE="coccinella"
SOURCE="Coccinella"
VERSION="0.96.20"
CATEGORY="network"
SHORT_DESC="Cross-platform communication tool with a built-in whiteboard."
MAINTAINER="pascal.bellard@slitaz.org"
LICENSE="GPL3"
WEB_SITE="http://thecoccinella.org/"
TARBALL="$SOURCE-${VERSION}Src.tar.gz"
WGET_URL="$SF_MIRROR/project/$PACKAGE/$PACKAGE/$VERSION/$TARBALL"

DEPENDS="tk"
BUILD_DEPENDS=""

# What is the latest version available today?
current_version()
{
    wget -O - https://sourceforge.net/projects/coccinella/files/coccinella/ 2>/dev/null | \
    sed '/scope="row/!d;s|.*href="|"https://sourceforge.net|;q' | xargs wget -O - 2>/dev/null | \
    sed '/scope="row/!d;s|.*/coccinella/||;s|/.*||;q'
}

# Rules to gen a SliTaz package suitable for Tazpkg.
genpkg_rules()
{
    mkdir -p $fs/usr/bin $fs/usr/share/applications
    cp -a $src $fs/usr/share/coccinella
    rm -rf $fs/usr/share/coccinella/bin/macosx
    rm -rf $fs/usr/share/coccinella/bin/unix/NetBSD
    rm -rf $fs/usr/share/coccinella/bin/windows
    cp $stuff/coccinella $fs/usr/bin
    cp $stuff/coccinella.desktop $fs/usr/share/applications
}
6025 packages and 203154 files in current database (Thu Apr 25 06:17:47 2024)