wok view transmission/receipt @ rev 558
Typo in busybox pre_install
author | Christophe Lincoln <pankso@slitaz.org> |
---|---|
date | Sat Apr 12 22:02:14 2008 +0200 (2008-04-12) |
parents | 47e6882f05da |
children | 4f8dd16a82a2 |
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 \
25 --prefix=/usr \
26 $CONFIGURE_ARGS
27 make
28 }
30 # Rules to gen a SliTaz package suitable for Tazpkg.
31 genpkg_rules()
32 {
33 mkdir -p $fs/usr/bin $fs/usr/share/locale/fr/LC_MESSAGES
34 cp -a $src/gtk/transmission $fs/usr/bin
35 # French locale.
36 cp -a $src/po/fr.gmo \
37 $fs/usr/share/locale/fr/LC_MESSAGES/transmission.mo
38 }
40 # Remove old packages name
41 post_install()
42 {
43 rm -f /usr/bin/transmission-gtk
44 }
46 # Fancy tarball...
47 clean_wok()
48 {
49 mv stuff /tmp/tmp-stuff
50 mv receipt /tmp/tmp-receipt
51 rm -rf *
52 mv /tmp/tmp-stuff stuff
53 mv /tmp/tmp-receipt receipt
54 }