wok-6.x annotate transmission/receipt @ rev 539

Add: reiserfsprogs, wireless_tools. Up: transmission to 1.11
author Eric Joseph-Alexandre <erjo@slitaz.org>
date Fri Apr 11 02:05:05 2008 +0200 (2008-04-11)
parents eb4e6a1af180
children c0a368d69d1e
rev   line source
pankso@41 1 # SliTaz package receipt.
pankso@41 2
pankso@41 3 PACKAGE="transmission"
erjo@539 4 VERSION="1.11"
pankso@203 5 CATEGORY="network"
pankso@41 6 SHORT_DESC="Light and easy to use BitTorrent client."
pankso@41 7 MAINTAINER="pankso@slitaz.org"
pankso@41 8 DEPENDS="gtk+"
erjo@539 9 TARBALL="$PACKAGE-$VERSION.tar.bz2"
pankso@41 10 WEB_SITE="http://transmission.m0k.org/"
pankso@41 11 WGET_URL="http://download.m0k.org/transmission/files/$TARBALL"
pankso@41 12
pankso@41 13 # Rules to configure and make the package.
pankso@41 14 compile_rules()
pankso@41 15 {
pankso@41 16 # Upstream did a funny tarball...
pankso@41 17 mkdir -p $PACKAGE-$VERSION
pankso@41 18 tar xzf $SOURCES_REPOSITORY/$TARBALL -C $PACKAGE-$VERSION
pankso@41 19
pankso@41 20 # For 0.92 (need openssl lib).
pankso@41 21 #bzip2 -d -c "$SOURCES_REPOSITORY/$TARBALL" | tar -xf -
pankso@41 22
pankso@41 23 cd $src
pankso@41 24 ./configure --prefix=/usr --disable-openssl \
pankso@41 25 $CONFIGURE_ARGS
pankso@41 26 make
pankso@41 27 }
pankso@41 28
pankso@41 29 # Rules to gen a SliTaz package suitable for Tazpkg.
pankso@41 30 genpkg_rules()
pankso@41 31 {
pankso@41 32 mkdir -p $fs/usr/bin $fs/usr/share/locale/fr/LC_MESSAGES \
erjo@539 33 $fs/usr/share/pixmaps $fs/usr/share/applications
erjo@539 34 cp -a $src/gtk/transmission $fs/usr/bin
erjo@539 35 # Resized pixmap , French locale and desktop file.
erjo@539 36 cp -a $src/gtk/transmission.png $fs/usr/share/pixmaps
erjo@539 37 cp -a $src/gtk/transmission.desktop $fs/usr/share/applications
erjo@539 38 cp -a $src/po/fr.gmo $fs/usr/share/locale/fr/LC_MESSAGES/transmission.mo
pankso@41 39 }
pankso@343 40
pankso@343 41 # Fancy tarball...
pankso@343 42 clean_wok()
pankso@343 43 {
pankso@343 44 mv stuff /tmp/tmp-stuff
pankso@343 45 mv receipt /tmp/tmp-receipt
pankso@343 46 rm -rf *
pankso@343 47 mv /tmp/tmp-stuff stuff
pankso@343 48 mv /tmp/tmp-receipt receipt
pankso@343 49 }