wok-current view xfce4-mixer/receipt @ rev 9660

make: use cleaner var order
author Christophe Lincoln <pankso@slitaz.org>
date Sun May 01 08:12:04 2011 +0200 (2011-05-01)
parents fe2fd41e6103
children a049d48a3c4c
line source
1 # SliTaz package receipt.
3 PACKAGE="xfce4-mixer"
4 VERSION="4.8.0"
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 intltool"
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 }