diff options
author | Willy Sudiarto Raharjo <willysr@slackbuilds.org> | 2016-01-24 06:23:35 +0700 |
---|---|---|
committer | Willy Sudiarto Raharjo <willysr@slackbuilds.org> | 2016-01-25 07:25:03 +0700 |
commit | 5dae6dbd8f88bda589f2143b483d8c93fa11a707 (patch) | |
tree | e5087ac5f8832acae0d7d44f6308305c1b455fc0 /development/cxxtools/cxxtools.SlackBuild | |
parent | 62ee1a7cc163afc0ee89456a132e3f41c7fdf0f8 (diff) |
development/cxxtools: Updated for version 2.2.1.
Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
Diffstat (limited to 'development/cxxtools/cxxtools.SlackBuild')
-rw-r--r-- | development/cxxtools/cxxtools.SlackBuild | 16 |
1 files changed, 7 insertions, 9 deletions
diff --git a/development/cxxtools/cxxtools.SlackBuild b/development/cxxtools/cxxtools.SlackBuild index 2497f52ce6d05..35f771ba26723 100644 --- a/development/cxxtools/cxxtools.SlackBuild +++ b/development/cxxtools/cxxtools.SlackBuild @@ -22,7 +22,7 @@ # ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. PRGNAM=cxxtools -VERSION=${VERSION:-2.1.1} +VERSION=${VERSION:-2.2.1} BUILD=${BUILD:-1} TAG=${TAG:-_SBo} @@ -60,10 +60,10 @@ tar xvf $CWD/$PRGNAM-$VERSION.tar.gz 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" \ @@ -81,13 +81,11 @@ CXXFLAGS="$SLKCFLAGS" \ make make install 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 mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION -cp -a \ - AUTHORS ChangeLog COPYING INSTALL README \ - $PKG/usr/doc/$PRGNAM-$VERSION +cp -a AUTHORS ChangeLog COPYING INSTALL README $PKG/usr/doc/$PRGNAM-$VERSION cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild mkdir -p $PKG/install |