30 lines
785 B
Bash
30 lines
785 B
Bash
# Template file for 'rr'
|
|
pkgname=rr
|
|
version=5.6.0
|
|
revision=2
|
|
archs="i686 x86_64"
|
|
build_style=cmake
|
|
configure_args="-DBUILD_TESTS=OFF -DCMAKE_CXX_STANDARD=14"
|
|
hostmakedepends="pkg-config python3"
|
|
makedepends="python3-pexpect zlib-devel capnproto-devel"
|
|
short_desc="Nondeterministic debugger"
|
|
maintainer="Orphaned <orphan@voidlinux.org>"
|
|
license="MIT, BSD-2-Clause"
|
|
homepage="http://rr-project.org/"
|
|
distfiles="https://github.com/mozilla/rr/archive/${version}.tar.gz"
|
|
checksum=a75262ae622c2c91d3391401d3da4e1dc9379b5afea5c40c9ea93f6905706c87
|
|
nopie=yes
|
|
|
|
case "$XBPS_MACHINE" in
|
|
x86_64*) hostmakedepends+=" gcc-multilib" ;;
|
|
esac
|
|
|
|
pre_configure() {
|
|
export CFLAGS="${CFLAGS/-D_FORTIFY_SOURCE=2/}"
|
|
export CXXFLAGS="${CXXFLAGS/-D_FORTIFY_SOURCE=2/}"
|
|
}
|
|
|
|
post_install() {
|
|
vlicense LICENSE
|
|
}
|