wok-6.x diff gecko-mediaplayer/receipt @ rev 18734
Remove redundant messages in {pre|post}_{install|remove}() in random packages
author | Aleksej Bobylev <al.bobylev@gmail.com> |
---|---|
date | Mon Dec 21 02:53:09 2015 +0200 (2015-12-21) |
parents | 9e01bc6321ea |
children | 486dbfc17892 |
line diff
1.1 --- a/gecko-mediaplayer/receipt Sun Dec 20 15:13:45 2015 +0100 1.2 +++ b/gecko-mediaplayer/receipt Mon Dec 21 02:53:09 2015 +0200 1.3 @@ -7,17 +7,16 @@ 1.4 MAINTAINER="jozee@slitaz.org" 1.5 LICENSE="GPL2" 1.6 TARBALL="$PACKAGE-$VERSION.tar.gz" 1.7 -WEB_SITE="http://code.google.com/p/gecko-mediaplayer/" 1.8 +WEB_SITE="http://code.google.com/p/gecko-mediaplayer/" 1.9 WGET_URL="http://gecko-mediaplayer.googlecode.com/files/$TARBALL" 1.10 TAGS="player audio video browser" 1.11 1.12 DEPENDS="gnome-mplayer dbus-glib gcc-lib-base" 1.13 BUILD_DEPENDS="firefox-dev dbus-dev dbus-glib-dev nspr-dev" 1.14 - 1.15 + 1.16 # Rules to configure and make the package. 1.17 compile_rules() 1.18 { 1.19 - cd $src 1.20 sed -i 's/utf8characters/UTF8Characters/g' src/*.cpp 1.21 sed -i 's|NPP_Initialize|//&|' src/np_entry.cpp 1.22 sed -i 's|char[\*\) ]*NP*_GetMIMEDescription(|const &|' src/npupp.h \ 1.23 @@ -30,7 +29,6 @@ 1.24 $CONFIGURE_ARGS && 1.25 make && 1.26 make DESTDIR=$DESTDIR install 1.27 - 1.28 } 1.29 1.30 # Rules to gen a SliTaz package suitable for Tazpkg. 1.31 @@ -38,21 +36,16 @@ 1.32 { 1.33 mkdir -p $fs/usr/lib 1.34 cp -a $install/usr/lib/mozilla $fs/usr/lib 1.35 - 1.36 } 1.37 1.38 post_install() 1.39 { 1.40 - echo -n "Processing post install commands..." 1.41 for i in "$1"/usr/lib/mozilla/plugins/$PACKAGE*.so ; do 1.42 ln -s "$i" "$1"/usr/lib/firefox*/plugins 1.43 - done 1.44 - status 1.45 + done 1.46 } 1.47 1.48 post_remove() 1.49 { 1.50 - echo -n "Processing post remove commands..." 1.51 rm -f /usr/lib/firefox*/plugins/$PACKAGE*.so 1.52 - status 1.53 }