wok-6.x annotate 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 |
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@14444 | 19 mkdir -p $fs/usr/bin $fs/usr/share |
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@14444 | 24 cat > $fs/usr/bin/coccinella << EOT |
pascal@14444 | 25 #!/bin/sh |
pascal@14444 | 26 |
pascal@14444 | 27 cd /usr/share/coccinella && { |
pascal@14444 | 28 wish8.5 ./Coccinella.tcl "$@" |
pascal@14444 | 29 cd - |
pascal@14444 | 30 } |
pascal@14444 | 31 EOT |
pascal@14444 | 32 chmod +x $fs/usr/bin/coccinella |
pascal@14444 | 33 } |