void-packages/srcpkgs/pianobar/template
2015-12-03 09:20:27 +01:00

20 lines
719 B
Bash

# Template file for 'pianobar'
pkgname=pianobar
version=2015.11.22
revision=1
hostmakedepends="pkg-config"
makedepends="libcurl-devel 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="Juan RP <xtraeme@voidlinux.eu>"
license="MIT"
homepage="http://6xq.net/projects/pianobar/"
distfiles="https://github.com/PromyLOPh/pianobar/archive/${version}.tar.gz"
checksum=db7142a817ceb674d3057e847542754117b5a0ea41780c3c9c1b77b852704d08
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
}