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

linux: fix compile_rules
author Pascal Bellard <pascal.bellard@slitaz.org>
date Sat Nov 14 15:44:04 2009 +0100 (2009-11-14)
parents f165fed5166c
children 3066c6dc3bbd
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
42 }