wok view audacious/receipt @ rev 5011

use mv instead of cp -a to save RAM (thanks Eric)
author Rohit Joshi <jozee@slitaz.org>
date Sun Feb 28 19:46:30 2010 +0000 (2010-02-28)
parents c616ce6b7873
children 1732ae11db98
line source
1 # SliTaz package receipt.
3 PACKAGE="audacious"
4 VERSION="2.2"
5 CATEGORY="multimedia"
6 SHORT_DESC="Music player like xmms"
7 MAINTAINER="mimas@slitaz.org"
8 DEPENDS="gtk+ libmowgli libmcs dbus xorg-libXdamage libxml2 libsamplerate audacious-plugins"
9 BUILD_DEPENDS="gtk+-dev libmowgli-dev libmowgli libmcs libmcs-dev dbus-dev libxml2-dev libsamplerate-dev"
10 TARBALL="$PACKAGE-$VERSION.tgz"
11 WEB_SITE="http://audacious-media-player.org/"
12 WGET_URL="http://distfiles.atheme.org/$TARBALL"
13 TAGS="music audio player mp3 ogg"
15 # Rules to configure and make the package.
16 compile_rules()
17 {
18 cd $src
19 sed -i "s/touch -t 0001010000 /touch /g" configure
20 ./configure \
21 --prefix=/usr \
22 --infodir=/usr/share/info \
23 --mandir=/usr/share/man \
24 --disable-sse2 \
25 --enable-samplerate \
26 $CONFIGURE_ARGS
27 make
28 make DESTDIR=$PWD/_pkg install
29 }
31 # Rules to gen a SliTaz package suitable for Tazpkg.
32 genpkg_rules()
33 {
34 mkdir -p $fs/usr/share $fs/usr/lib
35 cp -a $_pkg/usr/bin $fs/usr
36 cp -a $_pkg/usr/lib/*.so* $fs/usr/lib/
37 cp -a $_pkg/usr/share/$PACKAGE $fs/usr/share
38 cp -a $_pkg/usr/share/pixmaps $fs/usr/share
39 tar -xzf stuff/Skins.tar.gz -C $fs/usr/share/$PACKAGE
40 }