void-packages/srcpkgs/libphonenumber/template
2021-12-13 14:58:24 +01:00

26 lines
864 B
Bash

# Template file for 'libphonenumber'
pkgname=libphonenumber
version=8.12.39
revision=1
build_wrksrc=cpp
build_style=cmake
build_helper=qemu
configure_args="-DREGENERATE_METADATA=OFF"
hostmakedepends="pkg-config protobuf"
makedepends="boost-devel gtest-devel icu-devel protobuf-devel"
short_desc="Google's common library for handling international phone numbers"
maintainer="Louis Dupré Bertoni <contact@louisdb.xyz>"
license="Apache-2.0"
homepage="https://github.com/googlei18n/libphonenumber"
distfiles="https://github.com/google/libphonenumber/archive/refs/tags/v${version}.tar.gz"
checksum=ff16330f130917e42bc0b1a7efe5e4fba46633bfa62e35268acec855e17e385c
libphonenumber-devel_package() {
depends="${sourcepkg}>=${version}_${revision}"
short_desc+=" - development files"
pkg_install() {
vmove usr/include
vmove "usr/lib/*.a"
vmove "usr/lib/*.so"
}
}