wok view transmission/receipt @ rev 1377

Add: ncmpc (mpd ncurses client)
author Paul Issott <paul@slitaz.org>
date Thu Sep 11 15:19:20 2008 +0000 (2008-09-11)
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 }