void-packages/srcpkgs/pianobar/template

21 lines
709 B
Plaintext

# Template file for 'pianobar'
pkgname=pianobar
version=2014.09.28
revision=1
hostmakedepends="pkg-config"
makedepends="faad2-devel libao-devel gnutls-devel libgcrypt-devel json-c-devel ffmpeg-devel"
short_desc="A free/open-source, console-based client for Pandora radio"
maintainer="Mollusk <mollusk@homebutter.com>"
license="MIT"
homepage="http://6xq.net/projects/pianobar/"
distfiles="https://github.com/PromyLOPh/pianobar/archive/${version}.tar.gz"
checksum="c4b9d84d1b0b80dc6ff2957f94b8fdf9219b063d154cf09337f1d15b137f3acb"
do_build() {
make CC="$CC -std=c99" CFLAGS="$CFLAGS" LDFLAGS="$LDFLAGS" V=1 ${makejobs}
}
do_install() {
make PREFIX=/usr DESTDIR=${DESTDIR} install
vlicense COPYING LICENSE
}