wok-next view audacious/receipt @ rev 15078
grub: fix genpkg_rules
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Tue Aug 13 17:02:48 2013 +0000 (2013-08-13) |
parents | a7b54d88ae54 |
children | e5b6a4ef1f1f |
line source
1 # SliTaz package receipt.
3 PACKAGE="audacious"
4 VERSION="3.2.4"
5 CATEGORY="multimedia"
6 SHORT_DESC="Music player like xmms"
7 MAINTAINER="mimas@slitaz.org"
8 LICENSE="GPL"
9 TARBALL="$PACKAGE-$VERSION.tar.gz"
10 WEB_SITE="http://audacious-media-player.org/"
11 WGET_URL="http://distfiles.audacious-media-player.org/$TARBALL"
12 TAGS="music audio player mp3 ogg"
14 DEPENDS="gtk+ libmowgli libmcs dbus-glib xorg-libXdamage libxml2 libsamplerate"
15 BUILD_DEPENDS="gtk+-dev libmowgli-dev libmowgli libmcs libmcs-dev dbus-dev dbus-glib-dev libxml2-dev libsamplerate-dev"
17 # Rules to configure and make the package.
18 compile_rules()
19 {
20 cd $src
21 sed -i "s/touch -t 0001010000 /touch /g" configure
22 ./configure \
23 --prefix=/usr \
24 --infodir=/usr/share/info \
25 --mandir=/usr/share/man \
26 --disable-sse2 \
27 $CONFIGURE_ARGS &&
28 make &&
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 find $fs/usr/share/audacious/Skins/Default -type f -exec chmod a-x \{\} \;
42 }