wok-4.x view transmission/receipt @ rev 3744
Update: attr (build)
author | Matthew Sheets <rcx@zoominternet.net> |
---|---|
date | Thu Jul 23 13:33:52 2009 +0000 (2009-07-23) |
parents | 0ef2d770cbeb |
children | 6d1807fb3ac5 |
line source
1 # SliTaz package receipt.
3 PACKAGE="transmission"
4 VERSION="1.71"
5 CATEGORY="network"
6 SHORT_DESC="Light and easy to use BitTorrent client."
7 MAINTAINER="pankso@slitaz.org"
8 DEPENDS="gtk+ openssl libcurl libgio dbus dbus-glib xorg-libXdamage libnotify"
9 BUILD_DEPENDS="gtk+-dev openssl-dev curl-dev curl intltool"
10 SUGGESTED="transmission-web"
11 TARBALL="$PACKAGE-$VERSION.tar.bz2"
12 WEB_SITE="http://www.transmissionbt.com/"
13 WGET_URL="http://download.m0k.org/transmission/files/$TARBALL"
15 # Rules to configure and make the package.
16 compile_rules()
17 {
18 cd $src
19 ./configure \
20 --prefix=/usr \
21 $CONFIGURE_ARGS && \
22 make && \
23 make DESTDIR=$PWD/_pkg install
24 }
26 # Rules to gen a SliTaz package suitable for Tazpkg.
27 genpkg_rules()
28 {
29 mkdir -p $fs/usr/bin
30 cp -a $_pkg/usr/bin/$PACKAGE $fs/usr/bin
32 # Build other transmission packages
33 for i in $(cd $WOK; ls -d $PACKAGE-*)
34 do
35 tazwok genpkg $i
36 done
37 }
39 # Remove old packages name
40 post_install()
41 {
42 rm -f $1/usr/bin/transmission-gtk
43 }