wok-6.x view coccinella/receipt @ rev 25507
plop: cleanup
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Sat Feb 11 10:36:59 2023 +0000 (21 months ago) |
parents | 9af0e03b8ad0 |
children |
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="http://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 }