diff options
author | tnut <tnut at nutyx dot com> | 2012-01-08 12:15:45 +0100 |
---|---|---|
committer | tnut <tnut at nutyx dot com> | 2012-01-08 12:15:45 +0100 |
commit | 3f57a7f93b3e7550cbd73036f6a56654e17d1d5c (patch) | |
tree | 819b14ab0377fe2054fe59866669d904e9e0b4b5 /mpd | |
parent | c9972ec7f32bf9d37388e853fe9bf633e242d05a (diff) | |
download | nutyx-extra-3f57a7f93b3e7550cbd73036f6a56654e17d1d5c.tar.gz nutyx-extra-3f57a7f93b3e7550cbd73036f6a56654e17d1d5c.tar.bz2 nutyx-extra-3f57a7f93b3e7550cbd73036f6a56654e17d1d5c.tar.xz nutyx-extra-3f57a7f93b3e7550cbd73036f6a56654e17d1d5c.zip |
split de git pakxe et NuTyX-extra
Diffstat (limited to 'mpd')
-rw-r--r-- | mpd/.footprint.i686 | 17 | ||||
-rw-r--r-- | mpd/.footprint.x86_64 | 17 | ||||
-rw-r--r-- | mpd/.md5sum.i686 | 1 | ||||
-rw-r--r-- | mpd/.md5sum.x86_64 | 1 | ||||
-rw-r--r-- | mpd/Pkgfile | 18 | ||||
-rwxr-xr-x | mpd/mpd | 36 |
6 files changed, 90 insertions, 0 deletions
diff --git a/mpd/.footprint.i686 b/mpd/.footprint.i686 new file mode 100644 index 000000000..24fafdd39 --- /dev/null +++ b/mpd/.footprint.i686 @@ -0,0 +1,17 @@ +drwxr-xr-x root/root usr/ +drwxr-xr-x root/root usr/bin/ +-rwxr-xr-x root/root usr/bin/mpd +drwxr-xr-x root/root usr/share/ +drwxr-xr-x root/root usr/share/doc/ +drwxr-xr-x root/root usr/share/doc/mpd/ +-rw-r--r-- root/root usr/share/doc/mpd/AUTHORS +-rw-r--r-- root/root usr/share/doc/mpd/COPYING +-rw-r--r-- root/root usr/share/doc/mpd/NEWS +-rw-r--r-- root/root usr/share/doc/mpd/README +-rw-r--r-- root/root usr/share/doc/mpd/UPGRADING +-rw-r--r-- root/root usr/share/doc/mpd/mpdconf.example +drwxr-xr-x root/root usr/share/man/ +drwxr-xr-x root/root usr/share/man/man1/ +-rw-r--r-- root/root usr/share/man/man1/mpd.1.gz +drwxr-xr-x root/root usr/share/man/man5/ +-rw-r--r-- root/root usr/share/man/man5/mpd.conf.5.gz diff --git a/mpd/.footprint.x86_64 b/mpd/.footprint.x86_64 new file mode 100644 index 000000000..24fafdd39 --- /dev/null +++ b/mpd/.footprint.x86_64 @@ -0,0 +1,17 @@ +drwxr-xr-x root/root usr/ +drwxr-xr-x root/root usr/bin/ +-rwxr-xr-x root/root usr/bin/mpd +drwxr-xr-x root/root usr/share/ +drwxr-xr-x root/root usr/share/doc/ +drwxr-xr-x root/root usr/share/doc/mpd/ +-rw-r--r-- root/root usr/share/doc/mpd/AUTHORS +-rw-r--r-- root/root usr/share/doc/mpd/COPYING +-rw-r--r-- root/root usr/share/doc/mpd/NEWS +-rw-r--r-- root/root usr/share/doc/mpd/README +-rw-r--r-- root/root usr/share/doc/mpd/UPGRADING +-rw-r--r-- root/root usr/share/doc/mpd/mpdconf.example +drwxr-xr-x root/root usr/share/man/ +drwxr-xr-x root/root usr/share/man/man1/ +-rw-r--r-- root/root usr/share/man/man1/mpd.1.gz +drwxr-xr-x root/root usr/share/man/man5/ +-rw-r--r-- root/root usr/share/man/man5/mpd.conf.5.gz diff --git a/mpd/.md5sum.i686 b/mpd/.md5sum.i686 new file mode 100644 index 000000000..9b5f08b08 --- /dev/null +++ b/mpd/.md5sum.i686 @@ -0,0 +1 @@ +4d07459125ab0154c5b4fe364331498a mpd-0.16.1.tar.bz2 diff --git a/mpd/.md5sum.x86_64 b/mpd/.md5sum.x86_64 new file mode 100644 index 000000000..9b5f08b08 --- /dev/null +++ b/mpd/.md5sum.x86_64 @@ -0,0 +1 @@ +4d07459125ab0154c5b4fe364331498a mpd-0.16.1.tar.bz2 diff --git a/mpd/Pkgfile b/mpd/Pkgfile new file mode 100644 index 000000000..2def359b1 --- /dev/null +++ b/mpd/Pkgfile @@ -0,0 +1,18 @@ +# Description: Music Player Daemon compile avec les supports mp3, ogg et alsa +# URL: mpd.wikia.com +# Maintainer: NuTyX packager team +# Packager: Skippythekangoo at yahoo dot fr +# Depends on: libmad,libogg,alsa-lib,libid3tag,glib +# Run on: libmad,libogg,alsa-lib,libid3tag,glib + +name=mpd +version=0.16.1 +release=1 +source=(http://downloads.sourceforge.net/musicpd/$name-$version.tar.bz2) +build() { +cd $name-$version + ./configure --prefix=/usr + make + make DESTDIR=$PKG install +} + diff --git a/mpd/mpd b/mpd/mpd new file mode 100755 index 000000000..76d4192c6 --- /dev/null +++ b/mpd/mpd @@ -0,0 +1,36 @@ +#!/bin/sh +# Begin $rc_base/init.d/mpd + +. /etc/sysconfig/rc +. $rc_functions + +pidfile=/var/run/mpd.pid + +case "$1" in + start) + boot_mesg " Lancement de MPD..." + loadproc mpd + ;; + + stop) + boot_mesg "Arret de MPD..." + if [ -f $pidfile ]; then + loadkill mpd + fi + ;; + + restart) + boot_mesg "Relancement de MPD..." + if [ -f $pidfile ]; then + loadproc mpd stop + loadproc mpd + fi + ;; + + *) + echo "Usage: $0 {start|stop|restart}" + exit 1 + ;; +esac + +# End $rc_base/init.d/mpd |