diff options
author | David Spencer <baildon.research@googlemail.com> | 2017-02-12 12:15:48 +0000 |
---|---|---|
committer | David Spencer <idlemoor@slackbuilds.org> | 2017-02-12 12:15:48 +0000 |
commit | 2f1761220db12fad6b31fd3420cf5e8c093e661d (patch) | |
tree | 7eac14aa865d25c705ba3791a69ef79d3c9aca7c | |
parent | c0f702c2243fdbc5628fbacc2dc2cb62da71c727 (diff) | |
download | slackbuilds-2f1761220db12fad6b31fd3420cf5e8c093e661d.tar.gz |
development/hackrf: Fixed file ownership.
Signed-off-by: David Spencer <idlemoor@slackbuilds.org>
-rw-r--r-- | development/hackrf/hackrf.SlackBuild | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/development/hackrf/hackrf.SlackBuild b/development/hackrf/hackrf.SlackBuild index d28b03c6a0..60c8d99420 100644 --- a/development/hackrf/hackrf.SlackBuild +++ b/development/hackrf/hackrf.SlackBuild @@ -67,7 +67,7 @@ fi cd $TMP rm -rf $PRGNAM-$VERSION tar xvzf $CWD/$PRGNAM-$VERSION.tar.gz -cd $PRGNAM-$VERSION/host +cd $PRGNAM-$VERSION chown -R root:root . find -L . \ \( -perm 777 -o -perm 775 -o -perm 750 -o -perm 711 -o -perm 555 \ @@ -75,6 +75,7 @@ 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 {} \; +cd host sed -i "s|lib/pkgconfig|lib${LIBDIRSUFFIX}/pkgconfig|" libhackrf/CMakeLists.txt mkdir -p build cd build |