wok-6.x rev 4808
mpd: edit receipt
author | Paul Issott <paul@slitaz.org> |
---|---|
date | Mon Jan 18 16:06:04 2010 +0000 (2010-01-18) |
parents | 87129639ab68 |
children | f3150a63bb78 |
files | mpd/receipt |
line diff
1.1 --- a/mpd/receipt Mon Jan 18 16:02:24 2010 +0000 1.2 +++ b/mpd/receipt Mon Jan 18 16:06:04 2010 +0000 1.3 @@ -5,10 +5,10 @@ 1.4 CATEGORY="multimedia" 1.5 SHORT_DESC="Music Player Daemon (MPD)." 1.6 MAINTAINER="paul@slitaz.org" 1.7 -DEPENDS="libid3tag libmad libogg libvorbis libsamplerate flac alsa-lib audiofile faad2" 1.8 +DEPENDS="libid3tag libmad libogg libvorbis libsamplerate flac alsa-lib audiofile faad2 lame" 1.9 BUILD_DEPENDS="alsa-lib-dev zlib-dev libid3tag-dev libsamplerate-dev \ 1.10 libmad-dev libogg-dev libvorbis-dev flac-dev libsamplerate \ 1.11 -libid3tag audiofile audiofile-dev faad2 faad2-dev pkg-config" 1.12 +libid3tag audiofile audiofile-dev faad2 faad2-dev pkg-config glib-dev lame-dev" 1.13 TARBALL="$PACKAGE-$VERSION.tar.bz2" 1.14 WEB_SITE="http://www.musicpd.org/" 1.15 WGET_URL="$SF_MIRROR/musicpd/$TARBALL" 1.16 @@ -43,17 +43,20 @@ 1.17 # Drop root priviledges and enable pid file 1.18 echo -n "Enabling mpd.conf..." 1.19 cd $1/etc 1.20 - sed -i 's/#pid_file/pid_file/; \ 1.21 - s/#user/user/; s/#bind_to_address/bind_to_address/; \ 1.22 - s/"nobody"/"tux"/; s/"any"/"localhost"/' mpd.conf 1.23 + sed -i 's/#music_directory/music_directory/; \ 1.24 + s/#playlist_directory/playlist_directory/; \ 1.25 + s/#db_file/db_file/; \ 1.26 + s/#pid_file/pid_file/; \ 1.27 + s/#user "nobody"/user "tux"/; \ 1.28 + s/#bind_to_address "any"/bind_to_address "localhost"/' mpd.conf 1.29 status 1.30 1.31 # Make mpd directories and files 1.32 - echo -n "Enabling mpd files and directories" 1.33 + echo -n "Enabling mpd files and directories..." 1.34 mkdir /home/tux/music 1.35 mkdir -p /home/tux/.mpd/playlists 1.36 touch /home/tux/.mpd/mpd.log 1.37 - touch /home/tux/.mpd/mpd.error 1.38 + #touch /home/tux/.mpd/mpd.error 1.39 1.40 # And change permissions 1.41 chown tux:tux /home/tux/music