wok annotate coccinella/receipt @ rev 24758

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