void-packages/srcpkgs/rr/template
maxice8 9c0a3fb2e7 rr: update to 5.1.0.
Closes: #10004 [via git-merge-pr]
2017-12-22 10:03:24 +01:00

29 lines
820 B
Bash

# Template file for 'rr'
pkgname=rr
version=5.1.0
revision=1
build_style=cmake
configure_args="-DCMAKE_SYSTEM_PROCESSOR=${XBPS_TARGET_MACHINE} -DBUILD_TESTS=OFF"
only_for_archs="i686 x86_64"
hostmakedepends="pkg-config python"
makedepends="python-pexpect zlib-devel capnproto-devel"
short_desc="Nondeterministic debugger"
maintainer="Spencer Hill <spencernh77@gmail.com>"
license="MIT, BSD"
homepage="http://rr-project.org/"
distfiles="https://github.com/mozilla/${pkgname}/archive/${version}.tar.gz"
checksum=2388ee4a16dafcb21002e93cb9afa7f49c13e8932e4fd110c82a7f19d6ec956b
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
}