network/pptp: Various fixes to the script.

Signed-off-by: Michiel van Wessem <michiel.van.wessem@gmail.com>
This commit is contained in:
Michiel van Wessem 2010-06-03 06:41:58 +01:00 committed by Robby Workman
parent 3fbfc78a07
commit 574f8e64ea

View file

@ -77,13 +77,16 @@ find . \
patch -p1 < $CWD/routing.c.patch
make OPTIMIZE="$SLKCFLAGS"
make install MANDIR=$PKG/usr/man DESTDIR=$PKG
make install MANDIR=$PKG/usr/man/man8 DESTDIR=$PKG
find $PKG | xargs file | grep -e "executable" -e "shared object" | grep ELF \
| cut -f 1 -d : | xargs strip --strip-unneeded 2> /dev/null || true
find $PKG/usr/man -type f -exec gzip -9 {} \;
# Create the peers directory for connection specific information
mkdir -p $PKG/etc/ppp/peers
# Let's not clobber the existing config file
mv $PKG/etc/ppp/options.pptp $PKG/etc/ppp/options.pptp.new