void-packages/srcpkgs/fmt/template

28 lines
692 B
Bash

# Template file for 'fmt'
pkgname=fmt
version=6.0.0
revision=1
build_style=cmake
configure_args="-DBUILD_SHARED_LIBS=ON -DFMT_DOC=OFF -DFMT_TEST=OFF"
short_desc="Modern formatting library"
maintainer="Orphaned <orphan@voidlinux.org>"
license="BSD-2-Clause"
homepage="https://github.com/fmtlib/fmt"
distfiles="https://github.com/fmtlib/fmt/archive/${version}.tar.gz"
checksum=f1907a58d5e86e6c382e51441d92ad9e23aea63827ba47fd647eacc0d3a16c78
post_install() {
vlicense LICENSE.rst
}
fmt-devel_package() {
depends="fmt-${version}_${revision}"
short_desc+=" - development files"
pkg_install() {
vmove usr/include
vmove usr/lib/cmake
vmove usr/lib/pkgconfig
vmove "usr/lib/*.so"
}
}