void-packages/srcpkgs/abseil-cpp/template

28 lines
794 B
Bash

# Template file for 'abseil-cpp'
pkgname=abseil-cpp
version=20240116.1
revision=2
build_style=cmake
configure_args="-DBUILD_SHARED_LIBS=ON -DABSL_PROPAGATE_CXX_STD=ON
-DCMAKE_CXX_STANDARD=17"
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=3c743204df78366ad2eaf236d6631d83f6bc928d1705dd0000b872e53b73dc6a
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"
}
}