wok view mozplugger/receipt @ rev 12088
busybox: su should not chdir (again)
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Sat Mar 10 09:31:50 2012 +0100 (2012-03-10) |
parents | |
children | bb009a6ef036 |
line source
1 # SliTaz package receipt.
3 PACKAGE="mozplugger"
4 VERSION="1.14.3"
5 CATEGORY="multimedia"
6 SHORT_DESC="A Mozilla & Firefox multimedia plugin."
7 MAINTAINER="slaxemulator@gmail.com"
8 DEPENDS="xorg-libX11"
9 TARBALL="$PACKAGE-$VERSION.tar.gz"
10 WEB_SITE="http://mozplugger.mozdev.org"
11 WGET_URL="$WEB_SITE/files/$TARBALL"
13 # Rules to configure and make the package.
14 compile_rules()
15 {
16 cd $src
17 ./configure --prefix=/usr --sysconfdir=/etc &&
18 make
19 }
21 # Rules to gen a SliTaz package suitable for Tazpkg.
22 genpkg_rules()
23 {
24 mkdir -p $fs/usr/lib/mozilla/plugins \
25 $fs/etc \
26 $fs/usr/bin
27 cp -a $src/mozplugger.so $fs/usr/lib/mozilla/plugins
28 cp -a $src/mozpluggerrc $fs/etc
29 cp -a $src/mozplugger-helper $fs/usr/bin
30 cp -a $src/mozplugger-controller $fs/usr/bin
31 cp -a $src/mozplugger-linker $fs/usr/bin
32 }