wok view mozplugger/receipt @ rev 24585

updated gammu and gammu-dev (1.41.0 -> 1.42.0)
author Hans-G?nter Theisgen
date Mon Feb 28 07:46:13 2022 +0100 (2022-02-28)
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 }