wok-current view vlc-plugin/receipt @ rev 24974

Update some wget_url
author Pascal Bellard <pascal.bellard@slitaz.org>
date Mon May 02 11:23:24 2022 +0000 (2022-05-02)
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 }