summaryrefslogtreecommitdiff
path: root/development
diff options
context:
space:
mode:
authorDavid Spencer <baildon.research@googlemail.com>2017-02-12 12:15:48 +0000
committerDavid Spencer <idlemoor@slackbuilds.org>2017-02-12 12:15:48 +0000
commit2f1761220db12fad6b31fd3420cf5e8c093e661d (patch)
tree7eac14aa865d25c705ba3791a69ef79d3c9aca7c /development
parentc0f702c2243fdbc5628fbacc2dc2cb62da71c727 (diff)
downloadslackbuilds-2f1761220db12fad6b31fd3420cf5e8c093e661d.tar.gz
development/hackrf: Fixed file ownership.
Signed-off-by: David Spencer <idlemoor@slackbuilds.org>
Diffstat (limited to 'development')
-rw-r--r--development/hackrf/hackrf.SlackBuild3
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