rr: update to 4.3.0.

This commit is contained in:
Duncaen 2016-07-16 17:37:02 +02:00
parent 78a9e50db9
commit e0821841f7

View file

@ -1,26 +1,30 @@
# Template file for 'rr' # Template file for 'rr'
pkgname=rr pkgname=rr
version=4.0.1 version=4.3.0
revision=1 revision=1
build_style=cmake build_style=cmake
cmake_args="-DCMAKE_SYSTEM_PROCESSOR=${XBPS_TARGET_MACHINE}"
only_for_archs="i686 x86_64" only_for_archs="i686 x86_64"
hostmakedepends="cmake pkg-config" hostmakedepends="cmake pkg-config python"
if [ "$XBPS_MACHINE" = "x86_64" ]; then
hostmakedepends+=" gcc-multilib"
fi
makedepends="python-pexpect zlib-devel" makedepends="python-pexpect zlib-devel"
short_desc="Nondeterministic debugger" short_desc="Nondeterministic debugger"
maintainer="Spencer Hill <spencernh77@gmail.com>" maintainer="Spencer Hill <spencernh77@gmail.com>"
license="MIT, BSD" license="MIT, BSD"
homepage="http://rr-project.org/" homepage="http://rr-project.org/"
distfiles="https://github.com/mozilla/${pkgname}/archive/${version}.tar.gz" distfiles="https://github.com/mozilla/${pkgname}/archive/${version}.tar.gz"
checksum=694fdbb5eb20d05436f6234a1fa4e9b3d16a5431de483b657fcce069029fedc6 checksum=46933cdd706d71c3de05b55937c85ee055c08e67e5c1e6a1278c7feb187ca37a
nopie=yes
do_configure() { case "$XBPS_MACHINE" in
mkdir -p build x86_64*) hostmakedepends+=" gcc-multilib gcc-c++-multilib" ;;
cd build esac
unset CFLAGS CXXFLAGS LDFLAGS
cmake .. -DCMAKE_INSTALL_PREFIX=/usr pre_configure() {
sed -i -e 's|WILL_RUN_TESTS ON|WILL_RUN_TESTS OFF|g' \
-e 's|${CMAKE_SYSTEM_PROCESSOR}|CMAKE_SYSTEM_PROCESSOR|g' CMakeLists.txt
export CFLAGS="${CFLAGS/-D_FORTIFY_SOURCE=2/}"
export CXXFLAGS="${CXXFLAGS/-D_FORTIFY_SOURCE=2/}"
export PKG_CONFIG_LIBDIR="${XBPS_CROSS_BASE}/usr/lib/pkgconfig"
} }
post_install() { post_install() {