wok-next view transmission/receipt @ rev 60
Add : xorg-libXtst-dev
author | Christophe Lincoln <pankso@slitaz.org> |
---|---|
date | Sun Dec 23 12:36:54 2007 +0100 (2007-12-23) |
parents | |
children | 4959e5789caa |
line source
1 # SliTaz package receipt.
3 PACKAGE="transmission"
4 VERSION="0.82"
5 CATEGORY="extra"
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 }