wok-6.x view vlc-plugin/receipt @ rev 13025

clucene-dev, clucene, drupal, fcitx-skin-default, fcitx-zm, gejengel, hd2u, input-utils, jdk6-jaf, jdk6-jaxp, jdk6-jaxws, kismet, libedit-dev, libedit, linux-module-headers, linux-ocfs2, linux-staging, linux64-ocfs2, linux64-staging, menu-railroad, nfs-utils, ode-dev, openjdk-6-src, runcom, talloc-python, vlc-plugin, xorg-xf86-video-neomagic: fix maintainer
author Pascal Bellard <pascal.bellard@slitaz.org>
date Mon Jun 11 17:36:31 2012 +0200 (2012-06-11)
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 }