wok-stable view xfce4-mixer/receipt @ rev 8158

Up: tazwok-experimental 0.0.4, libtaz 0.0.4, tazpkg 4.2.2
author Antoine Bodin <gokhlayeh@slitaz.org>
date Wed Jan 26 23:19:03 2011 +0100 (2011-01-26)
parents 3066c6dc3bbd
children 839dc23905e0
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="http://archive.xfce.org/src/apps/$PACKAGE/${VERSION%.*}/$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 }