void-packages/srcpkgs/ncmpcpp/template
2013-08-19 10:17:49 +02:00

28 lines
754 B
Text

# Template file for 'ncmpcpp'
pkgname=ncmpcpp
version=0.5.10
revision=1
build_style=gnu-configure
configure_args="--with-curl --with-taglib"
hostmakedepends="pkg-config"
makedepends="ncurses-devel libcurl-devel taglib-devel libmpdclient-devel"
short_desc="NCurses Music Player Client (Plus Plus)"
maintainer="Juan RP <xtraeme@gmail.com>"
license="GPL-2"
homepage="http://ncmpcpp.rybczak.net/"
distfiles="http://ncmpcpp.rybczak.net/stable/ncmpcpp-${version}.tar.bz2"
checksum=ff6d5376a2d9caba6f5bb78e68af77cefbdb2f04cd256f738e39f8ac9a79a4a8
if [ "$CROSS_BUILD" ]; then
# XXX needs host taglib-config
hostmakedepends+=" taglib-devel"
pre_build() {
sed -e 's,-L/usr/lib,,g' -i src/Makefile
}
fi
ncmpcpp_package() {
pkg_install() {
vmove all
}
}