28 lines
794 B
Bash
28 lines
794 B
Bash
# Template file for 'abseil-cpp'
|
|
pkgname=abseil-cpp
|
|
version=20240116.2
|
|
revision=1
|
|
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=733726b8c3a6d39a4120d7e45ea8b41a434cdacde401cba500f14236c49b39dc
|
|
|
|
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"
|
|
}
|
|
}
|