parent
49293c7f98
commit
9636b9b343
1 changed files with 25 additions and 0 deletions
25
srcpkgs/cereal/template
Normal file
25
srcpkgs/cereal/template
Normal file
|
@ -0,0 +1,25 @@
|
||||||
|
# Template file for 'cereal'
|
||||||
|
pkgname=cereal
|
||||||
|
version=1.3.0
|
||||||
|
revision=1
|
||||||
|
archs=noarch
|
||||||
|
build_style=cmake
|
||||||
|
configure_args="-DSKIP_PORTABILITY_TEST=1 -DTHREAD_SAFE=ON -DWITH_WERROR=OFF"
|
||||||
|
short_desc="Header-only C++ serialization library"
|
||||||
|
maintainer="Zlice <zlice555@gmail.com>"
|
||||||
|
license="BSD-3-Clause"
|
||||||
|
homepage="https://uscilab.github.io/cereal"
|
||||||
|
distfiles="https://github.com/USCiLab/cereal/archive/v${version}.tar.gz"
|
||||||
|
checksum=329ea3e3130b026c03a4acc50e168e7daff4e6e661bc6a7dfec0d77b570851d5
|
||||||
|
|
||||||
|
case "$XBPS_TARGET_MACHINE" in
|
||||||
|
armv[56]*|ppc|ppc-musl*)
|
||||||
|
makedepends+=" libatomic-devel"
|
||||||
|
LDFLAGS+=" -latomic"
|
||||||
|
configure_args+=" -DCMAKE_CXX_STANDARD_LIBRARIES=-latomic"
|
||||||
|
;;
|
||||||
|
esac
|
||||||
|
|
||||||
|
post_install() {
|
||||||
|
vlicense LICENSE
|
||||||
|
}
|
Loading…
Reference in a new issue