30 lines
798 B
Bash
30 lines
798 B
Bash
# Template file for 'rr'
|
|
pkgname=rr
|
|
version=5.3.0
|
|
revision=1
|
|
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="Spencer Hill <spencernh77@gmail.com>"
|
|
license="MIT, BSD-2-Clause"
|
|
homepage="http://rr-project.org/"
|
|
distfiles="https://github.com/mozilla/${pkgname}/archive/${version}.tar.gz"
|
|
checksum=440e90a68557a8111f483fc40ab5ed65d21d6b11426b3245e4221b930a86ca69
|
|
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
|
|
}
|