summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorWilly Sudiarto Raharjo <willysr@slackbuilds.org>2016-01-24 06:23:35 +0700
committerWilly Sudiarto Raharjo <willysr@slackbuilds.org>2016-01-25 07:25:03 +0700
commit5dae6dbd8f88bda589f2143b483d8c93fa11a707 (patch)
treee5087ac5f8832acae0d7d44f6308305c1b455fc0
parent62ee1a7cc163afc0ee89456a132e3f41c7fdf0f8 (diff)
downloadslackbuilds-5dae6dbd8f88bda589f2143b483d8c93fa11a707.tar.gz
development/cxxtools: Updated for version 2.2.1.
Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
-rw-r--r--development/cxxtools/cxxtools.SlackBuild16
-rw-r--r--development/cxxtools/cxxtools.info6
2 files changed, 10 insertions, 12 deletions
diff --git a/development/cxxtools/cxxtools.SlackBuild b/development/cxxtools/cxxtools.SlackBuild
index 2497f52ce6..35f771ba26 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
diff --git a/development/cxxtools/cxxtools.info b/development/cxxtools/cxxtools.info
index f93f8778e0..a1b9529e0e 100644
--- a/development/cxxtools/cxxtools.info
+++ b/development/cxxtools/cxxtools.info
@@ -1,8 +1,8 @@
PRGNAM="cxxtools"
-VERSION="2.1.1"
+VERSION="2.2.1"
HOMEPAGE="http://www.tntnet.org/cxxtools.html"
-DOWNLOAD="http://www.tntnet.org/download/cxxtools-2.1.1.tar.gz"
-MD5SUM="2026a2bb23b966f13893167b4dbc5d70"
+DOWNLOAD="http://www.tntnet.org/download/cxxtools-2.2.1.tar.gz"
+MD5SUM="aab00068ae5237435b37ac86f2ac7576"
DOWNLOAD_x86_64=""
MD5SUM_x86_64=""
REQUIRES=""