wok-6.x view vlc-plugin/receipt @ rev 13313
freerdp: enable pcsc support
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Wed Aug 29 13:14:15 2012 +0200 (2012-08-29) |
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 }