wok-next view transmission/receipt @ rev 469
SliTaz theme for Openbox and improved default menu
author | Christophe Lincoln <pankso@slitaz.org> |
---|---|
date | Thu Mar 20 23:05:10 2008 +0100 (2008-03-20) |
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 }