void-packages/srcpkgs/rr/template
2016-04-02 09:38:45 +02:00

28 lines
705 B
Bash

# Template file for 'rr'
pkgname=rr
version=4.0.1
revision=1
build_style=cmake
only_for_archs="i686 x86_64"
hostmakedepends="cmake pkg-config"
if [ "$XBPS_MACHINE" = "x86_64" ]; then
hostmakedepends+=" gcc-multilib"
fi
makedepends="python-pexpect zlib-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=694fdbb5eb20d05436f6234a1fa4e9b3d16a5431de483b657fcce069029fedc6
do_configure() {
mkdir -p build
cd build
unset CFLAGS CXXFLAGS LDFLAGS
cmake .. -DCMAKE_INSTALL_PREFIX=/usr
}
post_install() {
vlicense LICENSE
}