gis/gpsd: Fix perms, add missed file.

Signed-off-by: David Spencer <baildon.research@googlemail.com>
This commit is contained in:
David Spencer 2016-05-15 12:36:44 +01:00 committed by Willy Sudiarto Raharjo
parent b6f5fde615
commit d505a40e45

View file

@ -89,7 +89,7 @@ find -L . \
\( -perm 777 -o -perm 775 -o -perm 750 -o -perm 711 -o -perm 555 \ \( -perm 777 -o -perm 775 -o -perm 750 -o -perm 711 -o -perm 555 \
-o -perm 511 \) -exec chmod 755 {} \; -o \ -o -perm 511 \) -exec chmod 755 {} \; -o \
\( -perm 666 -o -perm 664 -o -perm 640 -o -perm 600 -o -perm 444 \ \( -perm 666 -o -perm 664 -o -perm 640 -o -perm 600 -o -perm 444 \
-o -perm 440 -o -perm 400 \) -exec chmod 644 {} \; -o -perm 440 -o -perm 400 \) -exec chmod 644 {} \;
# g++ may throw an 'internal compiler error' in the QT bindings. # g++ may throw an 'internal compiler error' in the QT bindings.
# *Nothing* actually uses this, but you can enable it by deleting # *Nothing* actually uses this, but you can enable it by deleting
@ -110,6 +110,12 @@ scons \
--implicit-deps-unchanged \ --implicit-deps-unchanged \
install install
# Fix daft permission from upstream
chmod 755 $PKG/usr/bin/gpsprof
# Add a missed file
install -m 0644 gpsinit \
$PKG/usr/sbin/gpsinit
find $PKG/usr/man -type f -exec gzip -9 {} \; find $PKG/usr/man -type f -exec gzip -9 {} \;
for i in $(find $PKG/usr/man -type l) ; do ln -s $( readlink $i ).gz $i.gz ; rm $i ; done for i in $(find $PKG/usr/man -type l) ; do ln -s $( readlink $i ).gz $i.gz ; rm $i ; done
# libQgpsmm == qt bindings == not built, so remove the manpage: # libQgpsmm == qt bindings == not built, so remove the manpage: