wok-6.x view transmission/receipt @ rev 3325
Add: gcc+gcj
author | Matthew Sheets <rcx@zoominternet.net> |
---|---|
date | Tue Jun 09 15:10:39 2009 +0000 (2009-06-09) |
parents | ac9eadd43fcc |
children | 0ef2d770cbeb |
line source
1 # SliTaz package receipt.
3 PACKAGE="transmission"
4 VERSION="1.70"
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"
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 sed -i 's/event-config/eventDISABLED-config/' configure.ac
20 ./configure \
21 --prefix=/usr \
22 $CONFIGURE_ARGS && \
23 make && \
24 make DESTDIR=$PWD/_pkg install
25 }
27 # Rules to gen a SliTaz package suitable for Tazpkg.
28 genpkg_rules()
29 {
30 mkdir -p $fs/usr/bin
31 cp -a $_pkg/usr/bin/$PACKAGE $fs/usr/bin
33 # Build other transmission packages
34 for i in $(cd $WOK; ls -d $PACKAGE-*)
35 do
36 tazwok genpkg $i
37 done
38 }
40 # Remove old packages name
41 post_install()
42 {
43 rm -f $1/usr/bin/transmission-gtk
44 }