wok view transmission/receipt @ rev 5852

freeradius: fix compile_rules
author Pascal Bellard <pascal.bellard@slitaz.org>
date Fri Jul 16 23:05:43 2010 +0200 (2010-07-16)
parents 4a201d4c3ad8
children 1ddb9a566a1e
line source
1 # SliTaz package receipt.
3 PACKAGE="transmission"
4 VERSION="1.93"
5 CATEGORY="network"
6 SHORT_DESC="Light and easy to use BitTorrent client."
7 MAINTAINER="pankso@slitaz.org"
8 DEPENDS="gtk+ libssl libcurl libgio dbus dbus-glib xorg-libXdamage libnotify"
9 BUILD_DEPENDS="gtk+-dev openssl-dev curl-dev curl intltool expat-dev gettext"
10 SUGGESTED="transmission-web transmission-cli transmission-daemon"
11 TARBALL="$PACKAGE-$VERSION.tar.bz2"
12 WEB_SITE="http://www.transmissionbt.com/"
13 WGET_URL="http://download.m0k.org/transmission/files/$TARBALL"
14 TAGS="torrent"
16 # Rules to configure and make the package.
17 compile_rules()
18 {
19 cd $src
20 ./configure \
21 --prefix=/usr \
22 --disable-libnotify \
23 $CONFIGURE_ARGS && \
24 make && \
25 make DESTDIR=$PWD/_pkg install
26 }
28 # Rules to gen a SliTaz package suitable for Tazpkg.
29 genpkg_rules()
30 {
31 mkdir -p $fs/usr/bin
32 cp -a $_pkg/usr/bin/$PACKAGE $fs/usr/bin
34 # Build other transmission packages
35 for i in $(cd $WOK; ls -d $PACKAGE-*)
36 do
37 tazwok genpkg $i
38 done
39 }
41 # Remove old packages name
42 post_install()
43 {
44 rm -f $1/usr/bin/transmission-gtk
45 }