wok-next annotate transmission/receipt @ rev 3318
mysql: set enable-thread-safe-client for spine
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Mon Jun 08 10:27:16 2009 +0200 (2009-06-08) |
parents | ac9eadd43fcc |
children | 0ef2d770cbeb |
rev | line source |
---|---|
pankso@41 | 1 # SliTaz package receipt. |
pankso@41 | 2 |
pankso@41 | 3 PACKAGE="transmission" |
erjo@3300 | 4 VERSION="1.70" |
pankso@203 | 5 CATEGORY="network" |
pankso@41 | 6 SHORT_DESC="Light and easy to use BitTorrent client." |
pankso@41 | 7 MAINTAINER="pankso@slitaz.org" |
pascal@2525 | 8 DEPENDS="gtk+ openssl libcurl libgio dbus dbus-glib xorg-libXdamage" |
erjo@2988 | 9 BUILD_DEPENDS="gtk+-dev openssl-dev curl-dev curl intltool" |
pankso@1839 | 10 SUGGESTED="transmission-web" |
erjo@539 | 11 TARBALL="$PACKAGE-$VERSION.tar.bz2" |
pascal@1739 | 12 WEB_SITE="http://www.transmissionbt.com/" |
pankso@41 | 13 WGET_URL="http://download.m0k.org/transmission/files/$TARBALL" |
pankso@41 | 14 |
pankso@41 | 15 # Rules to configure and make the package. |
pankso@41 | 16 compile_rules() |
pankso@41 | 17 { |
pankso@41 | 18 cd $src |
pascal@3315 | 19 sed -i 's/event-config/eventDISABLED-config/' configure.ac |
pankso@551 | 20 ./configure \ |
pankso@551 | 21 --prefix=/usr \ |
erjo@2988 | 22 $CONFIGURE_ARGS && \ |
erjo@2988 | 23 make && \ |
pankso@1839 | 24 make DESTDIR=$PWD/_pkg install |
pankso@41 | 25 } |
pankso@41 | 26 |
pankso@41 | 27 # Rules to gen a SliTaz package suitable for Tazpkg. |
pankso@41 | 28 genpkg_rules() |
pankso@41 | 29 { |
pankso@1839 | 30 mkdir -p $fs/usr/bin |
pankso@1839 | 31 cp -a $_pkg/usr/bin/$PACKAGE $fs/usr/bin |
erjo@3300 | 32 |
erjo@3300 | 33 # Build other transmission packages |
erjo@3300 | 34 for i in $(cd $WOK; ls -d $PACKAGE-*) |
erjo@3300 | 35 do |
erjo@3300 | 36 tazwok genpkg $i |
erjo@3300 | 37 done |
pankso@551 | 38 } |
pankso@551 | 39 |
pankso@551 | 40 # Remove old packages name |
pankso@551 | 41 post_install() |
pankso@551 | 42 { |
pascal@1137 | 43 rm -f $1/usr/bin/transmission-gtk |
pankso@41 | 44 } |