30 lines
798 B
Bash
30 lines
798 B
Bash
# Template file for 'rr'
|
|
pkgname=rr
|
|
version=5.4.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="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=ba3f604b76a1e917055efeac60c51148bcb578e64a55ceddad8b1a6f2740717e
|
|
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
|
|
}
|