wok-6.x view coccinella/receipt @ rev 24823
updated libsdl2 and libsdl2-dev (2.0.12 -> 2.0.20)
author | Hans-G?nter Theisgen |
---|---|
date | Wed Mar 23 16:41:04 2022 +0100 (2022-03-23) |
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 }