wok-current view vlc-plugin/receipt @ rev 25519
created recipes for libuv and libuv-dev 1.44.1
author | Hans-G?nter Theisgen |
---|---|
date | Fri Feb 24 15:35:59 2023 +0100 (18 months ago) |
parents | 15030aba419f |
children |
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 LICENSE="LGPL2.1"
9 WEB_SITE="http://www.videolan.org/vlc"
10 SOURCE="npapi-vlc"
11 TARBALL="$SOURCE-$VERSION.tar.xz"
12 WGET_URL="http://download.videolan.org/pub/videolan/vlc/$VERSION/$TARBALL"
14 DEPENDS="libvlc dbus"
15 BUILD_DEPENDS="firefox-dev libvlc-dev dbus-dev gtk+-dev util-linux-uuid-dev"
16 TAGS="browser plug-in"
18 # What is the latest version available today?
19 current_version()
20 {
21 wget -O - http://download.videolan.org/pub/videolan/vlc/ 2>/dev/null | \
22 sed '/href="[0-9]/!d;s|.*href="||;s|/.*||' | sort -Vr | sed q
23 }
25 # Rules to configure and make the package.
26 compile_rules()
27 {
28 ./configure $CONFIGURE_ARGS && make && make install
29 }
31 # Rules to gen a SliTaz package suitable for Tazpkg.
32 genpkg_rules()
33 {
34 mkdir -p $fs/usr/lib/mozilla/plugins
35 cp -a $install/usr/lib/mozilla/plugins/*so $fs/usr/lib/mozilla/plugins
36 }