void-packages/srcpkgs/ncmpcpp/template
2016-04-18 00:05:06 +02:00

28 lines
874 B
Bash

# Template file for 'ncmpcpp'
pkgname=ncmpcpp
version=0.7.4
revision=1
build_style=gnu-configure
configure_args="
BOOST_LIB_SUFFIX= --enable-clock --enable-outputs --enable-unicode
--enable-visualizer --with-curl --with-taglib --with-fftw"
hostmakedepends="pkg-config"
makedepends="boost-devel readline-devel libmpdclient-devel
libcurl-devel taglib-devel fftw-devel icu-devel"
short_desc="Ncurses mpd client inspired by ncmpc"
maintainer="Juan RP <xtraeme@voidlinux.eu>"
license="GPL-2"
homepage="http://ncmpcpp.rybczak.net/"
distfiles="http://ncmpcpp.rybczak.net/stable/ncmpcpp-${version}.tar.bz2"
checksum=d70425f1dfab074a12a206ddd8f37f663bce2bbdc0a20f7ecf290ebe051f1e63
# Required by waddwstr() with ncurses on musl
CXXFLAGS="-D_XOPEN_SOURCE=600"
pre_configure() {
sed -i '/^docdir/d' {,doc/}Makefile.in
}
post_install() {
vsconf doc/bindings
vsconf doc/config
}