wok view coccinella/receipt @ rev 25037

Up glza (0.11.4)
author Pascal Bellard <pascal.bellard@slitaz.org>
date Sat May 21 21:38:29 2022 +0000 (23 months ago)
parents a78610b2eb47
children 6023b31d568c
line source
1 # SliTaz package receipt.
3 PACKAGE="coccinella"
4 SOURCE="Coccinella"
5 VERSION="0.96.20"
6 CATEGORY="network"
7 SHORT_DESC="Cross-platform communication tool with a built-in whiteboard."
8 MAINTAINER="pascal.bellard@slitaz.org"
9 LICENSE="GPL3"
10 WEB_SITE="https://thecoccinella.org/"
11 TARBALL="$SOURCE-${VERSION}Src.tar.gz"
12 WGET_URL="$SF_MIRROR/project/$PACKAGE/$PACKAGE/$VERSION/$TARBALL"
14 DEPENDS="tk"
15 BUILD_DEPENDS=""
17 # What is the latest version available today?
18 current_version()
19 {
20 wget -O - https://sourceforge.net/projects/coccinella/files/coccinella/ 2>/dev/null | \
21 sed '/scope="row/!d;s|.*href="|"https://sourceforge.net|;q' | xargs wget -O - 2>/dev/null | \
22 sed '/scope="row/!d;s|.*/coccinella/||;s|/.*||;q'
23 }
25 # Rules to gen a SliTaz package suitable for Tazpkg.
26 genpkg_rules()
27 {
28 mkdir -p $fs/usr/bin $fs/usr/share/applications
29 cp -a $src $fs/usr/share/coccinella
30 rm -rf $fs/usr/share/coccinella/bin/macosx
31 rm -rf $fs/usr/share/coccinella/bin/unix/NetBSD
32 rm -rf $fs/usr/share/coccinella/bin/windows
33 cp $stuff/coccinella $fs/usr/bin
34 cp $stuff/coccinella.desktop $fs/usr/share/applications
35 }