wok view coccinella/receipt @ rev 14444

Add coccinella
author Pascal Bellard <pascal.bellard@slitaz.org>
date Fri Apr 26 16:54:00 2013 +0200 (2013-04-26)
parents
children 42dd7a1d7f36
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 WEB_SITE="http://thecoccinella.org/"
10 TARBALL="$SOURCE-${VERSION}Src.tar.gz"
11 WGET_URL="$SF_MIRROR/project/$PACKAGE/$PACKAGE/$VERSION/$TARBALL"
13 DEPENDS="tk"
14 BUILD_DEPENDS=""
16 # Rules to gen a SliTaz package suitable for Tazpkg.
17 genpkg_rules()
18 {
19 mkdir -p $fs/usr/bin $fs/usr/share
20 cp -a $src $fs/usr/share/coccinella
21 rm -rf $fs/usr/share/coccinella/bin/macosx
22 rm -rf $fs/usr/share/coccinella/bin/unix/NetBSD
23 rm -rf $fs/usr/share/coccinella/bin/windows
24 cat > $fs/usr/bin/coccinella << EOT
25 #!/bin/sh
27 cd /usr/share/coccinella && {
28 wish8.5 ./Coccinella.tcl "$@"
29 cd -
30 }
31 EOT
32 chmod +x $fs/usr/bin/coccinella
33 }