mpc, mpd: adopted

This commit is contained in:
Simon Gloßner 2007-09-07 21:03:58 +02:00
parent ed560a07af
commit 693e816031
3 changed files with 27 additions and 26 deletions

View File

@ -4,9 +4,3 @@ drwxr-xr-x root/root usr/bin/
drwxr-xr-x root/root usr/man/
drwxr-xr-x root/root usr/man/man1/
-rw-r--r-- root/root usr/man/man1/mpc.1.gz
drwxr-xr-x root/root usr/share/
drwxr-xr-x root/root usr/share/mpc/
-rw-r--r-- root/root usr/share/mpc/m3u-handler.sh
-rw-r--r-- root/root usr/share/mpc/mpc-bashrc
-rw-r--r-- root/root usr/share/mpc/mppledit
-rw-r--r-- root/root usr/share/mpc/pls-handler.sh

View File

@ -1,19 +1,21 @@
# Description: Command line MPD client
# URL: http://www.musicpd.org/mpc.shtml
# Maintainer: Mark Rosenstand, mark at borkware dot net
# Description: Command line MPD client
# URL: http://www.musicpd.org/mpc.shtml
# Maintainer: Simon Gloßner, viper at hometux dot de
# Packager: Mark Rosenstand, mark at borkware dot net
name=mpc
version=0.12.1
release=1
source=(http://www.musicpd.org/uploads/files/mpc-$version.tar.gz)
source=(http://www.musicpd.org/uploads/files/$name-$version.tar.gz)
build() {
cd mpc-$version
./configure --prefix=/usr --mandir=/usr/man
cd $name-$version
./configure \
--prefix=/usr \
--mandir=/usr/man
make
make DESTDIR=$PKG install
cd $PKG/usr/share
rm doc/mpc/{AUTHORS,README}
mv doc/mpc/* mpc
rm -rv doc
rm -rf $PKG/usr/share
}

View File

@ -1,20 +1,25 @@
# Description: Music playback daemon
# URL: http://www.musicpd.org/
# Maintainer: Mark Rosenstand, mark at borkware dot net
# Depends on: libid3tag, libmad, libvorbis
# Description: Music playback daemon
# URL: http://www.musicpd.org/
# Maintainer: Simon Gloßner, viper at hometux dot de
# Packager: Mark Rosenstand, mark at borkware dot net
# Depends on: libmad, libvorbis, libid3tag
name=mpd
version=0.13.0
release=1
source=(http://www.musicpd.org/uploads/files/mpd-$version.tar.bz2)
source=(http://www.musicpd.org/uploads/files/$name-$version.tar.bz2)
build() {
cd mpd-$version
./configure --prefix=/usr --mandir=/usr/man
cd $name-$version
./configure \
--prefix=/usr \
--mandir=/usr/man
make
make DESTDIR=$PKG install
mkdir -p $PKG/etc
cp doc/mpdconf.example $PKG/etc/mpd.conf
rm -r $PKG/usr/share/doc
rmdir $PKG/usr/share
install -m 0644 doc/mpdconf.example $PKG/etc/mpd.conf
rm -rf $PKG/usr/share
}