wok-6.x view xfce4-mixer/receipt @ rev 7943

slitaz-mercurial-style: Tiny cosmetic fix
author Christophe Lincoln <pankso@slitaz.org>
date Wed Jan 12 01:37:53 2011 +0100 (2011-01-12)
parents 2eba1325f6a3
children fe2fd41e6103
line source
1 # SliTaz package receipt.
3 PACKAGE="xfce4-mixer"
4 VERSION="4.6.1"
5 CATEGORY="x-window"
6 SHORT_DESC="Xfce Audio Mixer"
7 MAINTAINER="erjo@slitaz.org"
8 DEPENDS="gtk+ libxfce4util gtk+ xfconf xfce4-panel gst-plugins-base"
9 BUILD_DEPENDS="gtk+-dev libxfce4util-dev libxfcegui4 xfconf-dev xfce4-panel-dev
10 gst-plugins-base-dev"
11 TARBALL="$PACKAGE-$VERSION.tar.bz2"
12 WEB_SITE="http://www.xfce.org"
13 WGET_URL="$WEB_SITE/archive/xfce/$VERSION/src/$TARBALL"
15 # Rules to configure and make the package.
16 compile_rules()
17 {
18 cd $src
19 ./configure --prefix=/usr \
20 --infodir=/usr/share/info \
21 --libexecdir=/usr/lib/$PACKAGE \
22 --mandir=/usr/share/man $CONFIGURE_ARGS && \
23 make && make DESTDIR=$PWD/_pkg install
24 }
26 # Rules to gen a SliTaz package suitable for Tazpkg.
27 genpkg_rules()
28 {
29 mkdir -p $fs/usr \
30 $fs/usr/lib \
31 $fs/usr/share/locale
34 cp -a $_pkg/usr/bin $fs/usr
35 cp -a $_pkg/usr/lib/$PACKAGE $fs/usr/lib
36 cp -a $_pkg/usr/share/locale/fr $fs/usr/share/locale
37 cp -a $_pkg/usr/share/xfce4 $fs/usr/share
38 cp -a $_pkg/usr/share/pixmaps $fs/usr/share
39 cp -a $_pkg/usr/share/xfce4-mixer $fs/usr/share
41 rm -rf $fs/usr/share/xfce4-mixer/icons/hicolor/scalable
43 # Strip evrythings
44 find $fs/usr/lib/ -exec strip -s {} 2> /dev/null \;
45 }