void-packages/srcpkgs/abseil-cpp/template

27 lines
769 B
Bash

# Template file for 'abseil-cpp'
pkgname=abseil-cpp
version=20230802.0
revision=1
build_style=cmake
configure_args="-DBUILD_SHARED_LIBS=ON -DABSL_PROPAGATE_CXX_STD=ON"
hostmakedepends="pkg-config"
short_desc="Abseil common libraries"
maintainer="Andrew J. Hesford <ajh@sideband.org>"
license="Apache-2.0"
homepage="https://abseil.io"
changelog="https://github.com/abseil/abseil-cpp/releases"
distfiles="https://github.com/abseil/abseil-cpp/archive/${version}.tar.gz"
checksum=59d2976af9d6ecf001a81a35749a6e551a335b949d34918cfade07737b9d93c5
abseil-cpp-devel_package() {
short_desc+=" (development files)"
depends="${sourcepkg}>=${version}_${revision}"
pkg_install() {
vmove usr/include
vmove usr/lib/pkgconfig
vmove usr/lib/cmake
vmove "usr/lib/*.so"
}
}