void-packages/srcpkgs/belr/template

25 lines
682 B
Bash

# Template file for 'belr'
pkgname=belr
version=5.1.12
revision=1
build_style=cmake
configure_args="-DENABLE_STATIC=FALSE -DENABLE_TESTS=NO"
makedepends="bctoolbox-devel"
short_desc="ABNF Parser"
maintainer="John <me@johnnynator.dev>"
license="GPL-3.0-or-later"
homepage="https://www.linphone.org"
distfiles="https://gitlab.linphone.org/BC/public/belr/-/archive/${version}/belr-${version}.tar.gz"
checksum=77f86470e12f8371a77c9b911705b585f97e0b983c31f33d529d3d19dc97fb56
belr-devel_package() {
short_desc+=" - development files"
depends="${sourcepkg}>=${version}_${revision}"
pkg_install() {
vmove usr/bin
vmove "usr/lib/*.so"
vmove usr/include
vmove usr/lib/cmake
}
}