diff options
author | Thorsten <thorsten.johannvorderbrueggen@t-online.de> | 2014-06-21 11:50:15 +0700 |
---|---|---|
committer | Willy Sudiarto Raharjo <willysr@slackbuilds.org> | 2014-06-21 12:04:24 +0700 |
commit | 3a1700873abd60e2fd53c77d078a1d51836a201d (patch) | |
tree | e3faa91556b2f9d7b2117a8d9e89c110613f9f6d /libraries/avr-libc | |
parent | 4f59099730f9d6854c541918a81a219f04a9a0b3 (diff) |
libraries/avr-libc: Script cleanup.
Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
Diffstat (limited to 'libraries/avr-libc')
-rw-r--r-- | libraries/avr-libc/avr-libc.SlackBuild | 21 |
1 files changed, 10 insertions, 11 deletions
diff --git a/libraries/avr-libc/avr-libc.SlackBuild b/libraries/avr-libc/avr-libc.SlackBuild index 8bc2a3d876a0..fb2b98d064fb 100644 --- a/libraries/avr-libc/avr-libc.SlackBuild +++ b/libraries/avr-libc/avr-libc.SlackBuild @@ -3,7 +3,7 @@ # Slackware build script for avr-libc # Written by Vliegendehuiskat -# E-mail: vliegendehuiskat [at] gmail [dot] com +# Now maintained by thorsten # avr-libc is licensed with a Modified BSD License. # You can find a copy of this licence in the source tarball. @@ -14,7 +14,7 @@ PRGNAM=avr-libc VERSION=${VERSION:-1.8.0} -BUILD=${BUILD:-2} +BUILD=${BUILD:-3} TAG=${TAG:-_SBo} if [ -z "$ARCH" ]; then @@ -60,10 +60,10 @@ tar xvf $CWD/$PRGNAM-$VERSION.tar.bz2 cd $PRGNAM-$VERSION chown -R root:root . find -L . \ - \( -perm 777 -o -perm 775 -o -perm 750 -o -perm 711 -o -perm 555 -o -perm 511 \) \ - -exec chmod 755 {} \; -o \ - \( -perm 666 -o -perm 664 -o -perm 600 -o -perm 444 -o -perm 440 -o -perm 400 \) \ - -exec chmod 644 {} \; + \( -perm 777 -o -perm 775 -o -perm 750 -o -perm 711 -o -perm 555 \ + -o -perm 511 \) -exec chmod 755 {} \; -o \ + \( -perm 666 -o -perm 664 -o -perm 640 -o -perm 600 -o -perm 444 \ + -o -perm 440 -o -perm 400 \) -exec chmod 644 {} \; CFLAGS="$SLKCFLAGS" \ CXXFLAGS="$SLKCFLAGS" \ @@ -74,22 +74,21 @@ CXXFLAGS="$SLKCFLAGS" \ --sysconfdir=/etc \ --localstatedir=/var \ --mandir=/usr/doc/$PRGNAM-$VERSION/man \ - --enable-doc \ + --enable-html-doc \ + --enable-man-doc \ --docdir=/usr/doc/$PRGNAM-$VERSION \ --build=$ARCH-slackware-linux make all make install DOC_INST_DIR=$PKG/usr/doc/$PRGNAM-$VERSION DESTDIR=$PKG -find $PKG | xargs file | grep -e "executable" -e "shared object" | grep ELF \ +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 # Create the directory for program documentation. mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION -cp -a \ - AUTHORS ChangeLog* INSTALL LICENSE NEWS README \ - $PKG/usr/doc/$PRGNAM-$VERSION +cp -a AUTHORS ChangeLog* INSTALL LICENSE NEWS README $PKG/usr/doc/$PRGNAM-$VERSION cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild mkdir -p $PKG/install |