wok-stable view transmission/receipt @ rev 541
etherboot: use bzImage format instead of obsolete zImage
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Fri Apr 11 16:30:14 2008 +0000 (2008-04-11) |
parents | eb4e6a1af180 |
children | c0a368d69d1e |
line source
1 # SliTaz package receipt.
3 PACKAGE="transmission"
4 VERSION="1.11"
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.bz2"
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 }
29 # Rules to gen a SliTaz package suitable for Tazpkg.
30 genpkg_rules()
31 {
32 mkdir -p $fs/usr/bin $fs/usr/share/locale/fr/LC_MESSAGES \
33 $fs/usr/share/pixmaps $fs/usr/share/applications
34 cp -a $src/gtk/transmission $fs/usr/bin
35 # Resized pixmap , French locale and desktop file.
36 cp -a $src/gtk/transmission.png $fs/usr/share/pixmaps
37 cp -a $src/gtk/transmission.desktop $fs/usr/share/applications
38 cp -a $src/po/fr.gmo $fs/usr/share/locale/fr/LC_MESSAGES/transmission.mo
39 }
41 # Fancy tarball...
42 clean_wok()
43 {
44 mv stuff /tmp/tmp-stuff
45 mv receipt /tmp/tmp-receipt
46 rm -rf *
47 mv /tmp/tmp-stuff stuff
48 mv /tmp/tmp-receipt receipt
49 }