wok view mozplugger/receipt @ rev 25624
Add opendkim
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Wed Nov 08 16:45:57 2023 +0000 (12 months ago) |
parents | fff755dd0f58 |
children |
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 '/tag\//!d;s|.*tag/v*||;s|".*||;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 }