wok-6.x view xine-plugin/receipt @ rev 24407

updated clamav and clamav-dev again (0.102.3 -> 0.104.2)
author Hans-G?nter Theisgen
date Wed Feb 09 14:12:35 2022 +0100 (2022-02-09)
parents 9e01bc6321ea
children d765616e1f3d
line source
1 # SliTaz package receipt.
3 PACKAGE="xine-plugin"
4 VERSION="1.0.2"
5 CATEGORY="multimedia"
6 SHORT_DESC="Xine media player firefox plugin."
7 MAINTAINER="pankso@slitaz.org"
8 LICENSE="GPL2"
9 TARBALL="$PACKAGE-$VERSION.tar.bz2"
10 WEB_SITE="http://www.xinehq.de/"
11 WGET_URL="http://switch.dl.sourceforge.net/sourceforge/xine/$TARBALL"
13 DEPENDS="xine-lib firefox"
14 BUILD_DEPENDS="xine-lib xine-lib-dev xorg-dev"
16 # What is the latest version available today?
17 current_version()
18 {
19 wget -O - https://sourceforge.net/projects/xine/files/xine-plugin/ 2>/dev/null | \
20 sed '/scope="row/!d;s|.*href="|"https://sourceforge.net|;q' | xargs wget -O - 2>/dev/null | \
21 sed '/scope="row/!d;s|.*/xine-plugin/||;s|/.*||;q'
22 }
24 # Rules to configure and make the package.
25 compile_rules()
26 {
27 cd $src
28 mkdir -p $DESTDIR/root/.mozilla/plugins
29 ./configure --prefix=/usr \
30 --mandir=/usr/share/man $CONFIGURE_ARGS &&
31 make &&
32 make DESTDIR=$DESTDIR install
33 }
35 # Rules to gen a SliTaz package suitable for Tazpkg.
36 genpkg_rules()
37 {
38 mkdir -p $fs/usr/share/xine
39 find $install -name xineplugin.so -exec cp -a {} $fs/usr/share/xine \;
40 }
42 # Pre and post install commands for Tazpkg.
43 post_install()
44 {
45 ln -s /usr/share/xine/xineplugin.so "$1"/usr/lib/firefox-*/plugins/
46 ln -s /usr/share/xine/xineplugin.so "$1/usr/lib/mozilla/plugins/"
47 }