2018-10-27 23:48:51 +02:00
|
|
|
# Template file for 'fmt'
|
|
|
|
pkgname=fmt
|
2018-12-29 20:55:36 +01:00
|
|
|
version=5.3.0
|
2018-10-27 23:48:51 +02:00
|
|
|
revision=1
|
|
|
|
build_style=cmake
|
2018-12-29 20:55:36 +01:00
|
|
|
configure_args="-DBUILD_SHARED_LIBS=ON -DFMT_DOC=OFF -DFMT_TEST=OFF"
|
2018-10-27 23:48:51 +02:00
|
|
|
short_desc="Modern formatting library"
|
|
|
|
maintainer="maxice8 <thinkabit.ukim@gmail.com>"
|
|
|
|
license="BSD-2-Clause"
|
|
|
|
homepage="https://github.com/fmtlib/fmt"
|
|
|
|
distfiles="https://github.com/fmtlib/fmt/archive/${version}.tar.gz"
|
2018-12-29 20:55:36 +01:00
|
|
|
checksum=defa24a9af4c622a7134076602070b45721a43c51598c8456ec6f2c4dbb51c89
|
2018-10-27 23:48:51 +02:00
|
|
|
|
|
|
|
post_install() {
|
|
|
|
vlicense LICENSE.rst
|
|
|
|
}
|
|
|
|
|
|
|
|
fmt-devel_package() {
|
|
|
|
depends="fmt-${version}_${revision}"
|
|
|
|
short_desc+=" - development files"
|
|
|
|
pkg_install() {
|
|
|
|
vmove usr/include
|
|
|
|
vmove usr/share/pkgconfig
|
|
|
|
vmove usr/lib/cmake
|
|
|
|
vmove "usr/lib/*.so"
|
|
|
|
}
|
|
|
|
}
|