wok-current view transmission/receipt @ rev 386
Fix gtk+ BUILD_DEPENDS
author | Christophe Lincoln <pankso@slitaz.org> |
---|---|
date | Sat Mar 08 22:49:00 2008 +0100 (2008-03-08) |
parents | 00b8d39101ac |
children | eb4e6a1af180 |
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 }
43 # Fancy tarball...
44 clean_wok()
45 {
46 mv stuff /tmp/tmp-stuff
47 mv receipt /tmp/tmp-receipt
48 rm -rf *
49 mv /tmp/tmp-stuff stuff
50 mv /tmp/tmp-receipt receipt
51 }