wok-next view transmission/receipt @ rev 1105

Fix typo
author Paul Issott <paul@slitaz.org>
date Fri Jul 18 23:36:00 2008 +0000 (2008-07-18)
parents c0a368d69d1e
children 10710b8535bc
line source
1 # SliTaz package receipt.
3 PACKAGE="transmission"
4 VERSION="1.20"
5 CATEGORY="network"
6 SHORT_DESC="Light and easy to use BitTorrent client."
7 MAINTAINER="pankso@slitaz.org"
8 DEPENDS="gtk+ openssl curl"
9 BUILD_DEPENDS="gtk+-dev openssl-dev curl-dev"
10 TARBALL="$PACKAGE-$VERSION.tar.bz2"
11 WEB_SITE="http://transmission.m0k.org/"
12 WGET_URL="http://download.m0k.org/transmission/files/$TARBALL"
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 \
26 --prefix=/usr \
27 $CONFIGURE_ARGS
28 make
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 cp -a $src/gtk/transmission $fs/usr/bin
36 # French locale.
37 cp -a $src/po/fr.gmo \
38 $fs/usr/share/locale/fr/LC_MESSAGES/transmission.mo
39 }
41 # Remove old packages name
42 post_install()
43 {
44 rm -f /usr/bin/transmission-gtk
45 }
47 # Fancy tarball...
48 clean_wok()
49 {
50 mv stuff /tmp/tmp-stuff
51 mv receipt /tmp/tmp-receipt
52 rm -rf *
53 mv /tmp/tmp-stuff stuff
54 mv /tmp/tmp-receipt receipt
55 }