wok view mozplugger/receipt @ rev 25083
updated p11-kit and p11-kit-dev (0.23.20 -> 0.24.1)
author | Hans-G?nter Theisgen |
---|---|
date | Wed Jun 15 17:22:15 2022 +0100 (2022-06-15) |
parents | b9659e3c2111 |
children | 7364ffdaaa60 |
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="https://github.com/unix-junkie/mozplugger"
11 TARBALL="$PACKAGE-$VERSION.tar.gz"
12 WGET_URL="$WEB_SITE/archive/refs/tags/v$VERSION.tar.gz"
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 }