29 lines
778 B
Bash
29 lines
778 B
Bash
# Template file for 'fmt'
|
|
pkgname=fmt
|
|
version=9.1.0
|
|
revision=1
|
|
build_style=cmake
|
|
configure_args="-DBUILD_SHARED_LIBS=ON -DFMT_DOC=OFF -DFMT_TEST=OFF"
|
|
short_desc="Modern formatting library"
|
|
maintainer="skmpz <dem.procopiou@gmail.com>"
|
|
license="BSD-2-Clause"
|
|
homepage="https://github.com/fmtlib/fmt"
|
|
changelog="https://raw.githubusercontent.com/fmtlib/fmt/master/ChangeLog.rst"
|
|
distfiles="https://github.com/fmtlib/fmt/archive/${version}.tar.gz"
|
|
checksum=5dea48d1fcddc3ec571ce2058e13910a0d4a6bab4cc09a809d8b1dd1c88ae6f2
|
|
|
|
post_install() {
|
|
vlicense LICENSE.rst LICENSE
|
|
}
|
|
|
|
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"
|
|
}
|
|
}
|