wok-current annotate mozplugger/receipt @ rev 22017

xcircuit: fix build
author Pascal Bellard <pascal.bellard@slitaz.org>
date Sat Oct 19 18:20:40 2019 +0200 (2019-10-19)
parents bb009a6ef036
children b9659e3c2111
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
slaxemulator@9852 16 # Rules to configure and make the package.
slaxemulator@9852 17 compile_rules()
slaxemulator@9852 18 {
Hans-G?nter@21475 19 ./configure \
Hans-G?nter@21475 20 --prefix=/usr \
Hans-G?nter@21475 21 --sysconfdir=/etc &&
slaxemulator@9852 22 make
slaxemulator@9852 23 }
slaxemulator@9852 24
slaxemulator@9852 25 # Rules to gen a SliTaz package suitable for Tazpkg.
slaxemulator@9852 26 genpkg_rules()
slaxemulator@9852 27 {
Hans-G?nter@21475 28 mkdir -p $fs/usr/lib/mozilla/plugins
Hans-G?nter@21475 29 mkdir -p $fs/etc
Hans-G?nter@21475 30 mkdir -p $fs/usr/bin
Hans-G?nter@21475 31
Hans-G?nter@21475 32 cp -a $src/mozplugger.so $fs/usr/lib/mozilla/plugins
Hans-G?nter@21475 33 cp -a $src/mozpluggerrc $fs/etc
Hans-G?nter@21475 34 cp -a $src/mozplugger-helper $fs/usr/bin
Hans-G?nter@21475 35 cp -a $src/mozplugger-controller $fs/usr/bin
Hans-G?nter@21475 36 cp -a $src/mozplugger-linker $fs/usr/bin
slaxemulator@9852 37 }