void-packages/srcpkgs/belcard/template

25 lines
762 B
Bash

# Template file for 'belcard'
pkgname=belcard
version=5.3.74
revision=1
build_style=cmake
configure_args="-DBUILD_SHARED_LIBS=TRUE -DENABLE_UNIT_TESTS=FALSE"
makedepends="bctoolbox-devel belr-devel"
short_desc="C++ library to manipulate VCard standard format"
maintainer="John <me@johnnynator.dev>"
license="GPL-3.0-or-later"
homepage="https://linphone.org"
distfiles="https://gitlab.linphone.org/BC/public/belcard/-/archive/${version}/belcard-${version}.tar.gz"
checksum=0a6f6129767d43378a6a25c46483ac0645ecb5d9f485979cbb896e277973024e
belcard-devel_package() {
short_desc+=" - development files"
depends="${sourcepkg}>=${version}_${revision} belr-devel"
pkg_install() {
vmove usr/bin
vmove "usr/lib/*.so"
vmove usr/include
vmove usr/lib/cmake
}
}