blob: 7c0e9489dbbc16768abedcefd74fa17d46ba6ed5 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
|
pkgdesc='Fill me.'
url='http://www.ros.org/'
pkgname='ros-groovy-@PACKAGE_NAME@'
pkgver='@STACK_VERSION@'
arch=('i686' 'x86_64')
pkgrel=1
license=('BSD')
makedepends=('ros-build-tools')
ros_depends(@ROS_STACK_DEPENDENCIES)
depends=(${ros_depends[@]})
source=("@STACK_URL@"
'@STACK_NAME@.patch')
md5sums=('@STACK_MD5@'
'@STACK_PATCH_MD5@')
source /usr/share/ros-build-tools/stack-install-tools.sh
source /opt/ros/@ROS_DISTRO@/setup.bash
build() {
export ROS_PACKAGE_PATH=${srcdir}/stacks:$ROS_PACKAGE_PATH
mkdir -p ${srcdir}/stacks
[ -L ${srcdir}/stacks/@STACK_NAME@ ] || ln -sf ../@STACK_NAME@-${pkgver} ${srcdir}/stacks/@STACK_NAME@
cd $srcdir/stacks; patch -p0 -i "$srcdir/@STACK_NAME@.patch"
rosmake --no-rosdep -i @STACK_NAME@
install_ros_stack ${srcdir}/stacks/@STACK_NAME@ /opt/ros/@ROS_DISTRO@/stacks/@STACK_NAME@
}
|