wok view transmission/receipt @ rev 1352

iUp; ImageMagick to 6.4.3-6;
author Eric Joseph-Alexandre <erjo@slitaz.org>
date Sat Sep 06 15:05:54 2008 +0200 (2008-09-06)
parents 588285bf0a2a
children f1d973413286
line source
1 # SliTaz package receipt.
3 PACKAGE="transmission"
4 VERSION="1.32"
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://transmissionbt.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 $1/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 }