aboutsummaryrefslogtreecommitdiff
path: root/libraries/urdfdom
diff options
context:
space:
mode:
authorAndrew Clemons <andrew.clemons@gmail.com>2021-08-22 20:37:48 +1200
committerWilly Sudiarto Raharjo <willysr@slackbuilds.org>2021-08-25 12:11:44 +0700
commit64f582ec860ec474a58ea60496cc332176e94434 (patch)
tree5fa2bf3acffd0630d0c356940319f3ddbb4b0a6f /libraries/urdfdom
parent3f6ae0d5a5906b1279fec02583ce57d09509bed2 (diff)
libraries/urdfdom: Install in lib64 on x86_64.
Signed-off-by: Andrew Clemons <andrew.clemons@gmail.com> Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
Diffstat (limited to 'libraries/urdfdom')
-rw-r--r--libraries/urdfdom/urdfdom.SlackBuild4
-rw-r--r--libraries/urdfdom/urdfdom.info2
2 files changed, 4 insertions, 2 deletions
diff --git a/libraries/urdfdom/urdfdom.SlackBuild b/libraries/urdfdom/urdfdom.SlackBuild
index 04d4e45791d79..c4f37ab71a56b 100644
--- a/libraries/urdfdom/urdfdom.SlackBuild
+++ b/libraries/urdfdom/urdfdom.SlackBuild
@@ -70,7 +70,7 @@ rm -rf $PKG
mkdir -p $TMP $PKG $OUTPUT
cd $TMP
rm -rf $PRGNAM-$VERSION
-tar xvf $CWD/$PRGNAM-$VERSION.tar.gz || tar xvf $CWD/$VERSION.tar.gz
+tar xvf $CWD/$PRGNAM-$VERSION.tar.gz
cd $PRGNAM-$VERSION
chown -R root:root .
find -L . \
@@ -79,6 +79,8 @@ find -L . \
\( -perm 666 -o -perm 664 -o -perm 640 -o -perm 600 -o -perm 444 \
-o -perm 440 -o -perm 400 \) -exec chmod 644 {} \;
+sed -i "s/set(CMAKE_INSTALL_LIBDIR lib/set(CMAKE_INSTALL_LIBDIR lib$LIBDIRSUFFIX/" CMakeLists.txt
+
mkdir -p build
cd build
cmake \
diff --git a/libraries/urdfdom/urdfdom.info b/libraries/urdfdom/urdfdom.info
index bc3600200aa11..0aad8c44e41f9 100644
--- a/libraries/urdfdom/urdfdom.info
+++ b/libraries/urdfdom/urdfdom.info
@@ -1,7 +1,7 @@
PRGNAM="urdfdom"
VERSION="0.4.1"
HOMEPAGE="http://wiki.ros.org/urdf"
-DOWNLOAD="https://github.com/ros/urdfdom/archive/0.4.1.tar.gz"
+DOWNLOAD="https://github.com/ros/urdfdom/archive/0.4.1/urdfdom-0.4.1.tar.gz"
MD5SUM="808353b7ca64bea8925bd5a87a4bb776"
DOWNLOAD_x86_64=""
MD5SUM_x86_64=""