Files
erisus-void-packages/srcpkgs/cpr/template
T

26 lines
732 B
Plaintext

# Template file for 'cpr'
pkgname=cpr
version=1.15.1
revision=1
build_style=cmake
configure_args="-DBUILD_SHARED_LIBS=ON -DCPR_USE_SYSTEM_CURL=ON"
makedepends="libcurl-devel openssl-devel"
short_desc="C++ Requests HTTP client library"
maintainer="Juan Rojas <juandmcr@protonmail.com>"
license="MIT"
homepage="https://github.com/libcpr/cpr"
distfiles="https://github.com/libcpr/cpr/archive/refs/tags/${version}.tar.gz"
checksum=c2fc62a030c4ca5d7c3517e8068531297f938bf4ab52bf951d4fc9bbc9222716
post_install() { vlicense LICENSE; }
cpr-devel_package() {
depends="${sourcepkg}>=${version}_${revision}"
short_desc+=" - development files"
pkg_install() {
vmove usr/include/cpr
vmove usr/lib/cmake/cpr
vmove "usr/lib/*.so"
}
}