diff options
Diffstat (limited to 'network/thrift/thrift.SlackBuild')
-rw-r--r-- | network/thrift/thrift.SlackBuild | 15 |
1 files changed, 9 insertions, 6 deletions
diff --git a/network/thrift/thrift.SlackBuild b/network/thrift/thrift.SlackBuild index 81135d111e..f76fb6b52c 100644 --- a/network/thrift/thrift.SlackBuild +++ b/network/thrift/thrift.SlackBuild @@ -17,7 +17,7 @@ # OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE. PRGNAM=thrift -VERSION=${VERSION:-0.6.0} +VERSION=${VERSION:-0.9.2} BUILD=${BUILD:-1} TAG=${TAG:-_SBo} @@ -58,10 +58,12 @@ 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 {} \; + +# Disable unit tests: https://issues.apache.org/jira/browse/THRIFT-3249 CFLAGS="$SLKCFLAGS" \ CXXFLAGS="$SLKCFLAGS" \ @@ -74,6 +76,7 @@ CXXFLAGS="$SLKCFLAGS" \ --without-ruby \ --without-php \ --without-php_extension \ + --disable-tests \ --build=$ARCH-slackware-linux make @@ -81,7 +84,7 @@ make install-strip DESTDIR=$PKG mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION cp -a \ - CHANGES CONTRIBUTORS DISCLAIMER LICENSE NEWS NOTICE README \ + CHANGES LICENSE NOTICE README.md \ $PKG/usr/doc/$PRGNAM-$VERSION cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild |