network/connman: Fix script.

Signed-off-by: Ryan P.C. McQuen <ryan.q@linux.com>
This commit is contained in:
Ryan P.C. McQuen 2014-11-20 08:43:12 -08:00 committed by Willy Sudiarto Raharjo
parent d99e98b550
commit e8b16179d3

View file

@ -89,11 +89,11 @@ install -m 644 ${CWD}/rc.connmand ${PKG}/etc/rc.d/
find $PKG -print0 | xargs -0 file | grep -e "executable" -e "shared object" | grep ELF \
| cut -f 1 -d : | xargs strip --strip-unneeded 2> /dev/null || true
mkdir -p ${PKG}/usr/doc/${NAME}-${VERSION}
mkdir -p ${PKG}/usr/doc/${PRGNAM}-${VERSION}
install -m644 AUTHORS COPYING ChangeLog INSTALL README TODO doc/*.txt \
${PKG}/usr/doc/${NAME}-${VERSION}/
mkdir -p ${PKG}/usr/doc/${NAME}-${VERSION}/api
mv ${PKG}/usr/doc/${NAME}-${VERSION}/{*-api.txt,api/}
${PKG}/usr/doc/${PRGNAM}-${VERSION}/
mkdir -p ${PKG}/usr/doc/${PRGNAM}-${VERSION}/api
mv ${PKG}/usr/doc/${PRGNAM}-${VERSION}/{*-api.txt,api/}
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