wok-current view audacious/receipt @ rev 12312

Rename razor-qt to razorqt (Follow https://github.com/Razor-qt/razor-qt/wiki/Packaging)
author Christophe Lincoln <pankso@slitaz.org>
date Tue Apr 17 14:21:40 2012 +0200 (2012-04-17)
parents 91a6459e9d67
children 30ee1300dc38
line source
1 # SliTaz package receipt.
3 PACKAGE="audacious"
4 VERSION="3.1"
5 CATEGORY="multimedia"
6 SHORT_DESC="Music player like xmms"
7 MAINTAINER="mimas@slitaz.org"
8 DEPENDS="gtk+ libmowgli libmcs dbus-glib xorg-libXdamage libxml2 libsamplerate"
9 BUILD_DEPENDS="gtk+-dev libmowgli-dev libmowgli libmcs libmcs-dev dbus-dev dbus-glib-dev libxml2-dev libsamplerate-dev"
10 TARBALL="$PACKAGE-$VERSION.tar.gz"
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 $CONFIGURE_ARGS &&
26 make &&
27 mkdir -p $DESTDIR/usr/bin
28 cp -a $src/src/audacious/audacious2 $DESTDIR/usr/bin
29 make DESTDIR=$DESTDIR install
30 }
32 # Rules to gen a SliTaz package suitable for Tazpkg.
33 genpkg_rules()
34 {
35 mkdir -p $fs/usr/share $fs/usr/lib $fs/usr/bin
36 cp -a $install/usr/bin $fs/usr
37 cp -a $install/usr/lib/*.so* $fs/usr/lib/
38 cp -a $install/usr/share/$PACKAGE $fs/usr/share
39 cp -a $install/usr/share/pixmaps $fs/usr/share
40 tar -xzf $stuff/Skins.tar.gz -C $fs/usr/share/$PACKAGE
41 }