wok diff vlc-plugin/receipt @ rev 14894

libbsd: fill license
author Pascal Bellard <pascal.bellard@slitaz.org>
date Fri Jul 26 11:16:42 2013 +0000 (2013-07-26)
parents 8387b6915400
children 76b72f1ad63c
line diff
     1.1 --- a/vlc-plugin/receipt	Mon Jun 11 17:36:31 2012 +0200
     1.2 +++ b/vlc-plugin/receipt	Fri Jul 26 11:16:42 2013 +0000
     1.3 @@ -12,10 +12,7 @@
     1.4  
     1.5  DEPENDS="libvlc dbus"
     1.6  BUILD_DEPENDS="firefox-dev libvlc-dev dbus-dev gtk+-dev"
     1.7 -
     1.8 -[ -f /etc/slitaz/slitaz.conf ] && . /etc/slitaz/slitaz.conf
     1.9 -[ $INSTALLED ] || INSTALLED=/var/lib/tazpkg/installed
    1.10 -
    1.11 +TAGS="browser plug-in"
    1.12  
    1.13  # Rules to configure and make the package.
    1.14  compile_rules()
    1.15 @@ -26,24 +23,6 @@
    1.16  # Rules to gen a SliTaz package suitable for Tazpkg.
    1.17  genpkg_rules()
    1.18  {
    1.19 -	cp -a $install/* $fs
    1.20 +	mkdir -p $fs/usr/lib/mozilla/plugins
    1.21 +	cp -a $install/usr/lib/mozilla/plugins/*so $fs/usr/lib/mozilla/plugins
    1.22  }
    1.23 -
    1.24 -post_install()
    1.25 -{
    1.26 -	echo -n "Processing post install commands..."
    1.27 -	if [ -d \$1/$INSTALLED/firefox ] ; then
    1.28 -		mkdir -p \$1/usr/lib/firefox/plugins
    1.29 -		ln -s /usr/lib/mozilla/plugins/libvlcplugin.so \$1/usr/lib/firefox/plugins
    1.30 -	fi
    1.31 -	status
    1.32 -}
    1.33 -
    1.34 -post_remove()
    1.35 -{
    1.36 -	echo -n "Processing post remove commands..."
    1.37 -	if [ -d $INSTALLED/firefox ] ; then
    1.38 -		rm -f /usr/lib/firefox/plugins/libvlcplugin.so
    1.39 -	fi
    1.40 -	status
    1.41 -}