wok-current annotate mozplugger/receipt @ rev 25379

updated uget (2.2.1 -> 2.2.3)
author Hans-G?nter Theisgen
date Sat Jul 30 15:37:46 2022 +0100 (2022-07-30)
parents b9659e3c2111
children
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"
pascal@24909 9 WEB_SITE="https://github.com/unix-junkie/mozplugger"
Hans-G?nter@21475 10
slaxemulator@9852 11 TARBALL="$PACKAGE-$VERSION.tar.gz"
pascal@24909 12 WGET_URL="$WEB_SITE/archive/refs/tags/v$VERSION.tar.gz"
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 }