diff options
author | Andre Barboza <bmg.andre@gmail.com> | 2017-09-25 23:06:35 -0300 |
---|---|---|
committer | Willy Sudiarto Raharjo <willysr@slackbuilds.org> | 2017-09-30 07:19:28 +0700 |
commit | 54ef0d8579bcce378abc9282c3179233a72fbf6a (patch) | |
tree | 1896dc5f6d1877e98831e30774b9f5c0a041fd7d /libraries/double-conversion/double-conversion.SlackBuild | |
parent | cb9f4e71e42f8eb946cbdda976fc187e38e2ff72 (diff) |
libraries/double-conversion: Updated for version 3.0.0
Signed-off-by: Andre Barboza <bmg.andre@gmail.com>
Diffstat (limited to 'libraries/double-conversion/double-conversion.SlackBuild')
-rw-r--r-- | libraries/double-conversion/double-conversion.SlackBuild | 7 |
1 files changed, 2 insertions, 5 deletions
diff --git a/libraries/double-conversion/double-conversion.SlackBuild b/libraries/double-conversion/double-conversion.SlackBuild index d7b288668aeef..a27d8514ab95a 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 |