summaryrefslogtreecommitdiff
path: root/libraries/double-conversion/double-conversion.SlackBuild
diff options
context:
space:
mode:
Diffstat (limited to 'libraries/double-conversion/double-conversion.SlackBuild')
-rw-r--r--libraries/double-conversion/double-conversion.SlackBuild7
1 files changed, 2 insertions, 5 deletions
diff --git a/libraries/double-conversion/double-conversion.SlackBuild b/libraries/double-conversion/double-conversion.SlackBuild
index d7b288668a..a27d8514ab 100644
--- a/libraries/double-conversion/double-conversion.SlackBuild
+++ b/libraries/double-conversion/double-conversion.SlackBuild
@@ -23,7 +23,7 @@
# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
PRGNAM=double-conversion
-VERSION=${VERSION:-1.1.5}
+VERSION=${VERSION:-3.0.0}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
@@ -69,15 +69,12 @@ find -L . \
\( -perm 666 -o -perm 664 -o -perm 640 -o -perm 600 -o -perm 444 \
-o -perm 440 -o -perm 400 \) -exec chmod 644 {} \;
-patch -p1 < $CWD/double-conversion.patch
-
mkdir -p build
cd build
cmake \
-DCMAKE_C_FLAGS:STRING="$SLKCFLAGS" \
-DCMAKE_CXX_FLAGS:STRING="$SLKCFLAGS" \
-DCMAKE_INSTALL_PREFIX=/usr \
- -DLIB_SUFFIX=${LIBDIRSUFFIX} \
-DINSTALL_CMAKE_DIR=/usr/lib${LIBDIRSUFFIX}/cmake \
-DCMAKE_BUILD_TYPE=Release ..
make
@@ -88,7 +85,7 @@ find $PKG -print0 | xargs -0 file | grep -e "executable" -e "shared object" | gr
| cut -f 1 -d : | xargs strip --strip-unneeded 2> /dev/null || true
mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION
-cp -ra AUTHORS COPYING LICENSE README Changelog test $PKG/usr/doc/$PRGNAM-$VERSION
+cp -ra AUTHORS BUILD COPYING Changelog LICENSE README.md WORKSPACE $PKG/usr/doc/$PRGNAM-$VERSION
cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild
mkdir -p $PKG/install