wok-current annotate transmission/receipt @ rev 343
8 desktop files for console programs
author | Christophe Lincoln <pankso@slitaz.org> |
---|---|
date | Wed Mar 05 18:09:26 2008 +0100 (2008-03-05) |
parents | 00b8d39101ac |
children | eb4e6a1af180 |
rev | line source |
---|---|
pankso@41 | 1 # SliTaz package receipt. |
pankso@41 | 2 |
pankso@41 | 3 PACKAGE="transmission" |
pankso@41 | 4 VERSION="0.82" |
pankso@203 | 5 CATEGORY="network" |
pankso@41 | 6 SHORT_DESC="Light and easy to use BitTorrent client." |
pankso@41 | 7 MAINTAINER="pankso@slitaz.org" |
pankso@41 | 8 DEPENDS="gtk+" |
pankso@41 | 9 TARBALL="$PACKAGE-$VERSION.tar.gz" |
pankso@41 | 10 WEB_SITE="http://transmission.m0k.org/" |
pankso@41 | 11 WGET_URL="http://download.m0k.org/transmission/files/$TARBALL" |
pascal@153 | 12 JWM_MENU='Internet:<Program icon="transmission.png" label="Transmission">transmission-gtk</Program>' |
pankso@41 | 13 |
pankso@41 | 14 # Rules to configure and make the package. |
pankso@41 | 15 compile_rules() |
pankso@41 | 16 { |
pankso@41 | 17 # Upstream did a funny tarball... |
pankso@41 | 18 mkdir -p $PACKAGE-$VERSION |
pankso@41 | 19 tar xzf $SOURCES_REPOSITORY/$TARBALL -C $PACKAGE-$VERSION |
pankso@41 | 20 |
pankso@41 | 21 # For 0.92 (need openssl lib). |
pankso@41 | 22 #bzip2 -d -c "$SOURCES_REPOSITORY/$TARBALL" | tar -xf - |
pankso@41 | 23 |
pankso@41 | 24 cd $src |
pankso@41 | 25 ./configure --prefix=/usr --disable-openssl \ |
pankso@41 | 26 $CONFIGURE_ARGS |
pankso@41 | 27 make |
pankso@41 | 28 strip gtk/transmission-gtk |
pankso@41 | 29 strip cli/transmissioncli |
pankso@41 | 30 } |
pankso@41 | 31 |
pankso@41 | 32 # Rules to gen a SliTaz package suitable for Tazpkg. |
pankso@41 | 33 genpkg_rules() |
pankso@41 | 34 { |
pankso@41 | 35 mkdir -p $fs/usr/bin $fs/usr/share/locale/fr/LC_MESSAGES \ |
pankso@41 | 36 $fs/usr/share/pixmaps |
pankso@41 | 37 cp -a $src/gtk/transmission-gtk $fs/usr/bin |
pankso@41 | 38 # Resized pixmap and French locale. |
pankso@41 | 39 cp -a stuff/transmission.png $fs/usr/share/pixmaps |
pankso@41 | 40 cp -a $src/gtk/po/fr.mo $fs/usr/share/locale/fr/LC_MESSAGES/transmission-gtk.mo |
pankso@41 | 41 } |
pankso@343 | 42 |
pankso@343 | 43 # Fancy tarball... |
pankso@343 | 44 clean_wok() |
pankso@343 | 45 { |
pankso@343 | 46 mv stuff /tmp/tmp-stuff |
pankso@343 | 47 mv receipt /tmp/tmp-receipt |
pankso@343 | 48 rm -rf * |
pankso@343 | 49 mv /tmp/tmp-stuff stuff |
pankso@343 | 50 mv /tmp/tmp-receipt receipt |
pankso@343 | 51 } |