wok-stable view deadbeef/receipt @ rev 9113

slitaz-doc: fix genpkg_rules
author Pascal Bellard <pascal.bellard@slitaz.org>
date Sat Mar 05 11:34:20 2011 +0100 (2011-03-05)
parents c03c94c279c2
children 603fc6322049
line source
1 # SliTaz package receipt.
3 PACKAGE="deadbeef"
4 VERSION="0.4.4"
5 CATEGORY="multimedia"
6 SHORT_DESC="Simple to use GTK+ audio player with systray support."
7 MAINTAINER="pankso@slitaz.org"
8 DEPENDS="gtk+ alsa-lib libogg libvorbis libsamplerate libmad"
9 BUILD_DEPENDS="$DEPENDS gtk+-dev alsa-lib-dev libogg-dev libvorbis-dev \
10 libmad-dev libsndfile libsndfile-dev libsamplerate-dev flac-dev libcurl \
11 curl-dev ffmpeg-dev libcdio-dev libcddb-dev intltool"
12 SUGGESTED="deadbeef-plugins"
13 TARBALL="$PACKAGE-$VERSION.tar.bz2"
14 WEB_SITE="http://deadbeef.sourceforge.net/"
15 WGET_URL="$SF_MIRROR/$PACKAGE/$TARBALL"
16 TAGS="music audio player mp3 ogg"
18 # Rules to configure and make the package.
19 compile_rules()
20 {
21 cd $src
22 ./configure \
23 --prefix=/usr \
24 --disable-pulse \
25 $CONFIGURE_ARGS &&
26 make &&
27 make DESTDIR=$PWD/_pkg install
28 }
30 # Rules to gen a SliTaz package suitable for Tazpkg.
31 genpkg_rules()
32 {
33 mkdir -p $fs/usr/lib/$PACKAGE $fs/usr/share/pixmaps
34 cp -a $_pkg/usr/bin $fs/usr
35 for l in alsa gtkui hotkeys vorbis mpgmad
36 do
37 cp -a $_pkg/usr/lib/$PACKAGE/$l.so* $fs/usr/lib/$PACKAGE
38 done
39 cp -a $_pkg/usr/share/$PACKAGE $fs/usr/share
40 cp -a $_pkg/usr/share/icons/hicolor/32x32/apps/*.png \
41 $fs/usr/share/pixmaps
42 }