wok-current view transmission/receipt @ rev 315
Squashfs: build needs gnu patch
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Mon Mar 03 21:57:01 2008 +0000 (2008-03-03) |
parents | 4959e5789caa |
children | 8c6c253c8c4d |
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"
12 JWM_MENU='Internet:<Program icon="transmission.png" label="Transmission">transmission-gtk</Program>'
14 # Rules to configure and make the package.
15 compile_rules()
16 {
17 # Upstream did a funny tarball...
18 mkdir -p $PACKAGE-$VERSION
19 tar xzf $SOURCES_REPOSITORY/$TARBALL -C $PACKAGE-$VERSION
21 # For 0.92 (need openssl lib).
22 #bzip2 -d -c "$SOURCES_REPOSITORY/$TARBALL" | tar -xf -
24 cd $src
25 ./configure --prefix=/usr --disable-openssl \
26 $CONFIGURE_ARGS
27 make
28 strip gtk/transmission-gtk
29 strip cli/transmissioncli
30 }
32 # Rules to gen a SliTaz package suitable for Tazpkg.
33 genpkg_rules()
34 {
35 mkdir -p $fs/usr/bin $fs/usr/share/locale/fr/LC_MESSAGES \
36 $fs/usr/share/pixmaps
37 cp -a $src/gtk/transmission-gtk $fs/usr/bin
38 # Resized pixmap and French locale.
39 cp -a stuff/transmission.png $fs/usr/share/pixmaps
40 cp -a $src/gtk/po/fr.mo $fs/usr/share/locale/fr/LC_MESSAGES/transmission-gtk.mo
41 }