wok view mozplugger/receipt @ rev 25035
Up libqcow (20210419)
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Fri May 20 18:11:13 2022 +0000 (2022-05-20) |
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 }