void-packages/srcpkgs/cclive/template
2018-12-09 07:05:13 -02:00

22 lines
816 B
Bash

# Template file for 'cclive'
pkgname=cclive
version=0.9.3
revision=1
build_style=gnu-configure
hostmakedepends="pkg-config"
makedepends="boost-devel pcre-devel libcurl-devel libquvi-devel glibmm-devel"
short_desc="Commandline downloader for popular video websites"
maintainer="Juan RP <xtraeme@voidlinux.eu>"
license="AGPL-3.0-or-later"
homepage="https://cclive.sourceforge.net/"
distfiles="${SOURCEFORGE_SITE}/${pkgname}/${pkgname}-${version}.tar.xz"
checksum=2edeaf5d76455723577e0b593f0322a97f1e0c8b0cffcc70eca8b5d17374a495
CPPFLAGS="-P"
case "$XBPS_TARGET_MACHINE" in
*-musl) broken="./cc/error.h:43:20: error: could not convert 'strerror_r(((int)ec), ((char*)(& buf)), sizeof (buf))' from 'int' to 'std::__cxx11::string' {aka 'std::__cxx11::basic_string<char>'} " ;;
esac
post_install() {
vlicense COPYING
}