wok view vlc-plugin/receipt @ rev 13560

lxde: remove pcmanfm from deps we can use spacefm in place
author Christophe Lincoln <pankso@slitaz.org>
date Sat Nov 03 10:51:02 2012 +0100 (2012-11-03)
parents 34b0caaf2117
children b434ab3341d0
line source
1 # SliTaz package receipt.
3 PACKAGE="vlc-plugin"
4 VERSION="2.0.0"
5 CATEGORY="multimedia"
6 SHORT_DESC="VLC Web Browser Plug-in that will allow to play video and audio"
7 MAINTAINER="domcox@slitaz.org"
8 WEB_SITE="http://www.videolan.org/vlc"
9 SOURCE="npapi-vlc"
10 TARBALL="$SOURCE-$VERSION.tar.xz"
11 WGET_URL="http://download.videolan.org/pub/videolan/vlc/$VERSION/$TARBALL"
13 DEPENDS="libvlc dbus"
14 BUILD_DEPENDS="firefox-dev libvlc-dev dbus-dev gtk+-dev"
16 [ -f /etc/slitaz/slitaz.conf ] && . /etc/slitaz/slitaz.conf
17 [ $INSTALLED ] || INSTALLED=/var/lib/tazpkg/installed
20 # Rules to configure and make the package.
21 compile_rules()
22 {
23 ./configure $CONFIGURE_ARGS && make && make install
24 }
26 # Rules to gen a SliTaz package suitable for Tazpkg.
27 genpkg_rules()
28 {
29 cp -a $install/* $fs
30 }
32 post_install()
33 {
34 echo -n "Processing post install commands..."
35 if [ -d \$1/$INSTALLED/firefox ] ; then
36 mkdir -p \$1/usr/lib/firefox/plugins
37 ln -s /usr/lib/mozilla/plugins/libvlcplugin.so \$1/usr/lib/firefox/plugins
38 fi
39 status
40 }
42 post_remove()
43 {
44 echo -n "Processing post remove commands..."
45 if [ -d $INSTALLED/firefox ] ; then
46 rm -f /usr/lib/firefox/plugins/libvlcplugin.so
47 fi
48 status
49 }