wok annotate coccinella/receipt @ rev 14445

coccinella: add desktop file
author Pascal Bellard <pascal.bellard@slitaz.org>
date Fri Apr 26 17:13:04 2013 +0200 (2013-04-26)
parents 250579210783
children 223b265f40fd
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@14444 9 WEB_SITE="http://thecoccinella.org/"
pascal@14444 10 TARBALL="$SOURCE-${VERSION}Src.tar.gz"
pascal@14444 11 WGET_URL="$SF_MIRROR/project/$PACKAGE/$PACKAGE/$VERSION/$TARBALL"
pascal@14444 12
pascal@14444 13 DEPENDS="tk"
pascal@14444 14 BUILD_DEPENDS=""
pascal@14444 15
pascal@14444 16 # Rules to gen a SliTaz package suitable for Tazpkg.
pascal@14444 17 genpkg_rules()
pascal@14444 18 {
pascal@14445 19 mkdir -p $fs/usr/bin $fs/usr/share/applications
pascal@14444 20 cp -a $src $fs/usr/share/coccinella
pascal@14444 21 rm -rf $fs/usr/share/coccinella/bin/macosx
pascal@14444 22 rm -rf $fs/usr/share/coccinella/bin/unix/NetBSD
pascal@14444 23 rm -rf $fs/usr/share/coccinella/bin/windows
pascal@14445 24 cp $stuff/coccinella $fs/usr/bin
pascal@14445 25 cp $stuff/coccinella.desktop $fs/usr/share/applications
pascal@14444 26 }