wok view coccinella/receipt @ rev 25794
created recipe for exo-lang
author | Hans-G?nter Theisgen |
---|---|
date | Wed Oct 23 16:19:52 2024 +0100 (4 weeks ago) |
parents | 6b33f9da53d4 |
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="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|.*a href="|"https://sourceforge.net|;s| .*||;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 }