wok-6.x view mozplugger/receipt @ rev 24783

Up apache-ant (1.10.12)
author Pascal Bellard <pascal.bellard@slitaz.org>
date Sun Mar 20 12:11:06 2022 +0000 (2022-03-20)
parents 1d27173881e7
children fff755dd0f58
line source
1 # SliTaz package receipt.
3 PACKAGE="mozplugger"
4 VERSION="2.1.6"
5 CATEGORY="multimedia"
6 SHORT_DESC="Generic Mozilla plugin."
7 MAINTAINER="slaxemulator@gmail.com"
8 LICENSE="GPL2"
9 WEB_SITE="http://mozplugger.mozdev.org/"
11 TARBALL="$PACKAGE-$VERSION.tar.gz"
12 WGET_URL="${WEB_SITE}files/$TARBALL"
14 DEPENDS="xorg-libX11"
16 # What is the latest version available today?
17 current_version()
18 {
19 wget -O - https://github.com/unix-junkie/mozplugger/releases 2>/dev/null | \
20 sed '/archive.*tar/!d;s|.*/v*\(.*\).tar.*|\1|;q'
21 }
23 # Rules to configure and make the package.
24 compile_rules()
25 {
26 ./configure \
27 --prefix=/usr \
28 --sysconfdir=/etc &&
29 make
30 }
32 # Rules to gen a SliTaz package suitable for Tazpkg.
33 genpkg_rules()
34 {
35 mkdir -p $fs/usr/lib/mozilla/plugins
36 mkdir -p $fs/etc
37 mkdir -p $fs/usr/bin
39 cp -a $src/mozplugger.so $fs/usr/lib/mozilla/plugins
40 cp -a $src/mozpluggerrc $fs/etc
41 cp -a $src/mozplugger-helper $fs/usr/bin
42 cp -a $src/mozplugger-controller $fs/usr/bin
43 cp -a $src/mozplugger-linker $fs/usr/bin
44 }