2007-04-29 01:38:55 +10:00
|
|
|
# Description: Ncurse-based MPD console client
|
|
|
|
# URL: http://www.musicpd.org/
|
|
|
|
# Maintainer: James Mills, prologic at shortcircuit dot net dot au
|
2006-11-20 02:31:58 +10:00
|
|
|
#
|
2007-04-29 01:38:55 +10:00
|
|
|
# Depends on: ncurses
|
2006-11-14 09:01:22 +10:00
|
|
|
|
|
|
|
name=ncmpc
|
|
|
|
version=0.11.1
|
2007-04-29 01:38:55 +10:00
|
|
|
release=2
|
|
|
|
source=(http://hem.bredband.net/kaw/${name}/files/${name}-${version}.tar.gz)
|
2006-11-14 09:01:22 +10:00
|
|
|
|
|
|
|
build() {
|
2007-04-29 01:38:55 +10:00
|
|
|
cd $name-$version
|
|
|
|
|
|
|
|
./configure \
|
|
|
|
--sysconfdir=/usr/etc \
|
|
|
|
--prefix=/usr \
|
|
|
|
--disable-nls
|
|
|
|
make
|
|
|
|
make install DESTDIR=$PKG
|
2006-11-14 09:01:22 +10:00
|
|
|
|
2007-04-29 01:38:55 +10:00
|
|
|
mkdir -p $PKG/usr/etc/ncmpc
|
2006-11-14 09:01:22 +10:00
|
|
|
|
2007-04-29 01:38:55 +10:00
|
|
|
install -m 0644 doc/config.sample $PKG/usr/etc/ncmpc/config
|
|
|
|
install -m 0644 doc/keys.sample $PKG/usr/etc/ncmpc/keys
|
|
|
|
|
|
|
|
rm -rf $PKG/usr/share
|
|
|
|
chown -R root:root $PKG
|
2006-11-14 09:01:22 +10:00
|
|
|
}
|