Files
gentoo/dev-ros/xmlrpcpp/xmlrpcpp-1.11.15-r1.ebuild
T
Alexis Ballier 5b240aa122 dev-ros/xmlrpcpp: Install headers in a prefixed directory.
Fixes collisions with heimdal, bug #561208.

Package-Manager: portage-2.2.23
2015-11-02 13:00:47 +01:00

28 lines
691 B
Bash

# Copyright 1999-2014 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Id$
EAPI=5
ROS_REPO_URI="https://github.com/ros/ros_comm"
KEYWORDS="~amd64 ~arm"
ROS_SUBDIR=utilities/${PN}
inherit ros-catkin
DESCRIPTION="C++ implementation of the XML-RPC protocol"
LICENSE="BSD"
SLOT="0"
IUSE=""
RDEPEND="dev-ros/cpp_common"
DEPEND="${RDEPEND}"
PATCHES=( "${FILESDIR}/headers.patch" )
src_configure() {
ros-catkin_src_configure
# Hack so that proper -I are added
sed -e "s#_include_dirs \"include\"#_include_dirs \"include;${SYSROOT:-${EPREFIX}}/usr/include/xmlrpcpp\"#" \
-i "${BUILD_DIR}/catkin_generated/installspace/xmlrpcppConfig.cmake" || die
}