wok-current diff transmission/receipt @ rev 551
Use the new tarnsmission name in desktop file
author | Christophe Lincoln <pankso@slitaz.org> |
---|---|
date | Sat Apr 12 21:14:02 2008 +0200 (2008-04-12) |
parents | 47e6882f05da |
children | 4f8dd16a82a2 |
line diff
1.1 --- a/transmission/receipt Fri Apr 11 02:05:05 2008 +0200 1.2 +++ b/transmission/receipt Sat Apr 12 21:14:02 2008 +0200 1.3 @@ -21,21 +21,26 @@ 1.4 #bzip2 -d -c "$SOURCES_REPOSITORY/$TARBALL" | tar -xf - 1.5 1.6 cd $src 1.7 - ./configure --prefix=/usr --disable-openssl \ 1.8 - $CONFIGURE_ARGS 1.9 + ./configure \ 1.10 + --prefix=/usr \ 1.11 + $CONFIGURE_ARGS 1.12 make 1.13 } 1.14 1.15 # Rules to gen a SliTaz package suitable for Tazpkg. 1.16 genpkg_rules() 1.17 { 1.18 - mkdir -p $fs/usr/bin $fs/usr/share/locale/fr/LC_MESSAGES \ 1.19 - $fs/usr/share/pixmaps $fs/usr/share/applications 1.20 + mkdir -p $fs/usr/bin $fs/usr/share/locale/fr/LC_MESSAGES 1.21 cp -a $src/gtk/transmission $fs/usr/bin 1.22 - # Resized pixmap , French locale and desktop file. 1.23 - cp -a $src/gtk/transmission.png $fs/usr/share/pixmaps 1.24 - cp -a $src/gtk/transmission.desktop $fs/usr/share/applications 1.25 - cp -a $src/po/fr.gmo $fs/usr/share/locale/fr/LC_MESSAGES/transmission.mo 1.26 + # French locale. 1.27 + cp -a $src/po/fr.gmo \ 1.28 + $fs/usr/share/locale/fr/LC_MESSAGES/transmission.mo 1.29 +} 1.30 + 1.31 +# Remove old packages name 1.32 +post_install() 1.33 +{ 1.34 + rm -f /usr/bin/transmission-gtk 1.35 } 1.36 1.37 # Fancy tarball...