void-packages/srcpkgs/belr/template

25 lines
681 B
Bash

# Template file for 'belr'
pkgname=belr
version=4.4.0
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=0b6ab6d3c4d0eb07036e21d2a7e03d949230cc89fd70730d79e28292f02ff101
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
}
}