wok view transmission/receipt @ rev 420

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