wok-6.x annotate mozplugger/receipt @ rev 10943

asterisk: store ilbc sources in src cache (again)
author Pascal Bellard <pascal.bellard@slitaz.org>
date Mon Aug 29 18:23:58 2011 +0200 (2011-08-29)
parents
children bb009a6ef036
rev   line source
slaxemulator@9852 1 # SliTaz package receipt.
slaxemulator@9852 2
slaxemulator@9852 3 PACKAGE="mozplugger"
slaxemulator@9852 4 VERSION="1.14.3"
slaxemulator@9852 5 CATEGORY="multimedia"
slaxemulator@9852 6 SHORT_DESC="A Mozilla & Firefox multimedia plugin."
slaxemulator@9852 7 MAINTAINER="slaxemulator@gmail.com"
slaxemulator@9852 8 DEPENDS="xorg-libX11"
slaxemulator@9852 9 TARBALL="$PACKAGE-$VERSION.tar.gz"
slaxemulator@9852 10 WEB_SITE="http://mozplugger.mozdev.org"
slaxemulator@9852 11 WGET_URL="$WEB_SITE/files/$TARBALL"
slaxemulator@9852 12
slaxemulator@9852 13 # Rules to configure and make the package.
slaxemulator@9852 14 compile_rules()
slaxemulator@9852 15 {
slaxemulator@9852 16 cd $src
slaxemulator@9852 17 ./configure --prefix=/usr --sysconfdir=/etc &&
slaxemulator@9852 18 make
slaxemulator@9852 19 }
slaxemulator@9852 20
slaxemulator@9852 21 # Rules to gen a SliTaz package suitable for Tazpkg.
slaxemulator@9852 22 genpkg_rules()
slaxemulator@9852 23 {
slaxemulator@9852 24 mkdir -p $fs/usr/lib/mozilla/plugins \
slaxemulator@9852 25 $fs/etc \
slaxemulator@9852 26 $fs/usr/bin
slaxemulator@9852 27 cp -a $src/mozplugger.so $fs/usr/lib/mozilla/plugins
slaxemulator@9852 28 cp -a $src/mozpluggerrc $fs/etc
slaxemulator@9852 29 cp -a $src/mozplugger-helper $fs/usr/bin
slaxemulator@9852 30 cp -a $src/mozplugger-controller $fs/usr/bin
slaxemulator@9852 31 cp -a $src/mozplugger-linker $fs/usr/bin
slaxemulator@9852 32 }
slaxemulator@9852 33