wok annotate 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
rev   line source
domcox@12852 1 # SliTaz package receipt.
domcox@12852 2
domcox@12852 3 PACKAGE="vlc-plugin"
domcox@12852 4 VERSION="2.0.0"
domcox@12852 5 CATEGORY="multimedia"
domcox@12852 6 SHORT_DESC="VLC Web Browser Plug-in that will allow to play video and audio"
pascal@13025 7 MAINTAINER="domcox@slitaz.org"
domcox@12884 8 WEB_SITE="http://www.videolan.org/vlc"
domcox@12852 9 SOURCE="npapi-vlc"
domcox@12852 10 TARBALL="$SOURCE-$VERSION.tar.xz"
domcox@12852 11 WGET_URL="http://download.videolan.org/pub/videolan/vlc/$VERSION/$TARBALL"
domcox@12852 12
domcox@12852 13 DEPENDS="libvlc dbus"
domcox@12852 14 BUILD_DEPENDS="firefox-dev libvlc-dev dbus-dev gtk+-dev"
domcox@12852 15
domcox@12852 16 [ -f /etc/slitaz/slitaz.conf ] && . /etc/slitaz/slitaz.conf
domcox@12852 17 [ $INSTALLED ] || INSTALLED=/var/lib/tazpkg/installed
domcox@12852 18
domcox@12852 19
domcox@12852 20 # Rules to configure and make the package.
domcox@12852 21 compile_rules()
domcox@12852 22 {
domcox@12852 23 ./configure $CONFIGURE_ARGS && make && make install
domcox@12852 24 }
domcox@12852 25
domcox@12852 26 # Rules to gen a SliTaz package suitable for Tazpkg.
domcox@12852 27 genpkg_rules()
domcox@12852 28 {
domcox@12852 29 cp -a $install/* $fs
domcox@12852 30 }
domcox@12852 31
domcox@12852 32 post_install()
domcox@12852 33 {
domcox@12852 34 echo -n "Processing post install commands..."
domcox@12852 35 if [ -d \$1/$INSTALLED/firefox ] ; then
domcox@12852 36 mkdir -p \$1/usr/lib/firefox/plugins
domcox@12852 37 ln -s /usr/lib/mozilla/plugins/libvlcplugin.so \$1/usr/lib/firefox/plugins
domcox@12852 38 fi
domcox@12852 39 status
domcox@12852 40 }
domcox@12852 41
domcox@12852 42 post_remove()
domcox@12852 43 {
domcox@12852 44 echo -n "Processing post remove commands..."
domcox@12852 45 if [ -d $INSTALLED/firefox ] ; then
domcox@12852 46 rm -f /usr/lib/firefox/plugins/libvlcplugin.so
domcox@12852 47 fi
domcox@12852 48 status
domcox@12852 49 }