wok annotate 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
rev   line source
slaxemulator@9852 1 # SliTaz package receipt.
slaxemulator@9852 2
slaxemulator@9852 3 PACKAGE="mozplugger"
Hans-G?nter@21475 4 VERSION="2.1.6"
slaxemulator@9852 5 CATEGORY="multimedia"
Hans-G?nter@21475 6 SHORT_DESC="Generic Mozilla plugin."
slaxemulator@9852 7 MAINTAINER="slaxemulator@gmail.com"
pascal@15583 8 LICENSE="GPL2"
Hans-G?nter@21475 9 WEB_SITE="http://mozplugger.mozdev.org/"
Hans-G?nter@21475 10
slaxemulator@9852 11 TARBALL="$PACKAGE-$VERSION.tar.gz"
Hans-G?nter@21475 12 WGET_URL="${WEB_SITE}files/$TARBALL"
slaxemulator@9852 13
pascal@15583 14 DEPENDS="xorg-libX11"
pascal@15583 15
pascal@24545 16 # What is the latest version available today?
pascal@24545 17 current_version()
pascal@24545 18 {
pascal@24545 19 wget -O - https://github.com/unix-junkie/mozplugger/releases 2>/dev/null | \
pascal@24545 20 sed '/archive.*tar/!d;s|.*/v*\(.*\).tar.*|\1|;q'
pascal@24545 21 }
pascal@24545 22
slaxemulator@9852 23 # Rules to configure and make the package.
slaxemulator@9852 24 compile_rules()
slaxemulator@9852 25 {
Hans-G?nter@21475 26 ./configure \
Hans-G?nter@21475 27 --prefix=/usr \
Hans-G?nter@21475 28 --sysconfdir=/etc &&
slaxemulator@9852 29 make
slaxemulator@9852 30 }
slaxemulator@9852 31
slaxemulator@9852 32 # Rules to gen a SliTaz package suitable for Tazpkg.
slaxemulator@9852 33 genpkg_rules()
slaxemulator@9852 34 {
Hans-G?nter@21475 35 mkdir -p $fs/usr/lib/mozilla/plugins
Hans-G?nter@21475 36 mkdir -p $fs/etc
Hans-G?nter@21475 37 mkdir -p $fs/usr/bin
Hans-G?nter@21475 38
Hans-G?nter@21475 39 cp -a $src/mozplugger.so $fs/usr/lib/mozilla/plugins
Hans-G?nter@21475 40 cp -a $src/mozpluggerrc $fs/etc
Hans-G?nter@21475 41 cp -a $src/mozplugger-helper $fs/usr/bin
Hans-G?nter@21475 42 cp -a $src/mozplugger-controller $fs/usr/bin
Hans-G?nter@21475 43 cp -a $src/mozplugger-linker $fs/usr/bin
slaxemulator@9852 44 }