From 7bd289600b14ca37d95e79d81e68f73106788b0a Mon Sep 17 00:00:00 2001 From: Spencer Hill Date: Sat, 2 Apr 2016 03:38:45 -0400 Subject: [PATCH] New package: rr-4.0.1 --- srcpkgs/rr/template | 28 ++++++++++++++++++++++++++++ 1 file changed, 28 insertions(+) create mode 100644 srcpkgs/rr/template diff --git a/srcpkgs/rr/template b/srcpkgs/rr/template new file mode 100644 index 00000000000..5c37984d8a7 --- /dev/null +++ b/srcpkgs/rr/template @@ -0,0 +1,28 @@ +# 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 " +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 +}