diff options
author | Vijay Marcel <vijaymarcel@outlook.com> | 2023-05-17 22:39:13 +0100 |
---|---|---|
committer | Willy Sudiarto Raharjo <willysr@slackbuilds.org> | 2023-05-20 11:17:05 +0700 |
commit | a8886279949501165fe948ed5b756992b277795f (patch) | |
tree | 9c416d3750a2b020f73398d9c0949d4982c15204 /libraries/libmysofa | |
parent | d0864e43d8c44c77b6cf22c54be473f4150f9728 (diff) |
libraries/libmysofa: Updated for version 1.3.1.
Signed-off-by: bedlam <dave@slackbuilds.org>
Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
Diffstat (limited to 'libraries/libmysofa')
-rw-r--r-- | libraries/libmysofa/changelog | 16 | ||||
-rw-r--r-- | libraries/libmysofa/libmysofa.SlackBuild | 36 | ||||
-rw-r--r-- | libraries/libmysofa/libmysofa.info | 6 |
3 files changed, 34 insertions, 24 deletions
diff --git a/libraries/libmysofa/changelog b/libraries/libmysofa/changelog new file mode 100644 index 0000000000000..9cc81ef8a5769 --- /dev/null +++ b/libraries/libmysofa/changelog @@ -0,0 +1,16 @@ +Changelog for libmysofa SlackBuild Script +-------------------------------------------------------------------- + +03/09/2022: + +Added to slackbuilds.org + +18/02/2023: + +libmysofa slackbuild script fixed by B.Watson + +16/05/2023: + +Updated to version 1.3.1. +It does not recognize the extra CFLAGS probably due to hardcoded +in the cmakelists file.so I have removed them in the script. diff --git a/libraries/libmysofa/libmysofa.SlackBuild b/libraries/libmysofa/libmysofa.SlackBuild index 2528e4c255e27..4f01993368e34 100644 --- a/libraries/libmysofa/libmysofa.SlackBuild +++ b/libraries/libmysofa/libmysofa.SlackBuild @@ -2,7 +2,7 @@ # Slackware build script for libmysofa -# Copyright 2022, Vijay Marcel, India +# Copyright 2022-2023 Vijay Marcel,India # All rights reserved. # # Redistribution and use of this script, with or without modification, is @@ -25,7 +25,7 @@ cd $(dirname $0) ; CWD=$(pwd) PRGNAM=libmysofa -VERSION=${VERSION:-1.2.1} +VERSION=${VERSION:-1.3.1} BUILD=${BUILD:-1} TAG=${TAG:-_SBo} PKGTYPE=${PKGTYPE:-tgz} @@ -43,16 +43,12 @@ PKG=$TMP/package-$PRGNAM OUTPUT=${OUTPUT:-/tmp} if [ "$ARCH" = "i586" ]; then - SLKCFLAGS="-O2 -march=i586 -mtune=i686" LIBDIRSUFFIX="" elif [ "$ARCH" = "i686" ]; then - SLKCFLAGS="-O2 -march=i686 -mtune=i686" LIBDIRSUFFIX="" elif [ "$ARCH" = "x86_64" ]; then - SLKCFLAGS="-O2" LIBDIRSUFFIX="64" else - SLKCFLAGS="-O2" LIBDIRSUFFIX="" fi @@ -81,20 +77,18 @@ find -L . \ -o -perm 440 -o -perm 400 \) -exec chmod 644 {} \; -CFLAGS="$SLKCFLAGS" \ -CXXFLAGS="$SLKCFLAGS" \ - -cmake -B build -S $TMP/$PRGNAM-$VERSION \ - -DCMAKE_C_FLAGS=$SLKCFLAGS \ - -DCMAKE_CXX_FLAGS=$SLKCFLAGS \ - -DCMAKE_INSTALL_PREFIX=/usr \ - -DCMAKE_INSTALL_BINDIR=/usr/bin \ - -DCMAKE_INSTALL_DOCDIR=/usr/doc \ - -DCMAKE_INSTALL_INCLUDEDIR=/usr/include \ - -DCMAKE_INSTALL_LIBDIR=/usr/lib64 \ - -DBUILD_SHARED_LIBS=ON \ - -DBUILD_STATIC_LIBS=OFF \ - -DBUILD_TESTS=ON +cmake -B $TMP/$PRGNAM-$VERSION/build -S $TMP/$PRGNAM-$VERSION \ + -DCMAKE_BUILD_TYPE:STRING=Release \ + -DCMAKE_INSTALL_PREFIX:PATH=/usr \ + -DCMAKE_INSTALL_BINDIR:PATH=/usr/bin \ + -DCMAKE_INSTALL_DOCDIR:PATH=/usr/doc \ + -DCMAKE_INSTALL_INCLUDEDIR:PATH=/usr/include \ + -DCMAKE_INSTALL_LIBDIR:PATH=/usr/lib${LIBDIRSUFFIX} \ + -DBUILD_SHARED_LIBS:BOOL=ON \ + -DBUILD_STATIC_LIBS:BOOL=OFF \ + -DBUILD_TESTS:BOOL=OFF \ + -DCODE_COVERAGE:BOOL=OFF \ + -DADDRESS_SANITIZE:BOOL=OFF make -C build @@ -107,7 +101,7 @@ find $PKG -print0 | xargs -0 file | grep -e "executable" -e "shared object" \ rm -f $PKG/{,usr/}lib${LIBDIRSUFFIX}/*.la mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION -cp -a LICENSE README.md $PKG/usr/doc/$PRGNAM-$VERSION +cp -a LICENSE README.md CODE_OF_CONDUCT.md SECURITY.md $PKG/usr/doc/$PRGNAM-$VERSION cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild mkdir -p $PKG/install diff --git a/libraries/libmysofa/libmysofa.info b/libraries/libmysofa/libmysofa.info index 5ff3ffda13c32..7431bdf08eb38 100644 --- a/libraries/libmysofa/libmysofa.info +++ b/libraries/libmysofa/libmysofa.info @@ -1,8 +1,8 @@ PRGNAM="libmysofa" -VERSION="1.2.1" +VERSION="1.3.1" HOMEPAGE="https://github.com/hoene/libmysofa" -DOWNLOAD="https://github.com/hoene/libmysofa/archive/v1.2.1/libmysofa-1.2.1.tar.gz" -MD5SUM="de55b79f2687c824f2134e677f437601" +DOWNLOAD="https://github.com/hoene/libmysofa/archive/v1.3.1/libmysofa-1.3.1.tar.gz" +MD5SUM="3d00fdb7014819ed300c5b23dae2c58c" DOWNLOAD_x86_64="" MD5SUM_x86_64="" REQUIRES="cunit" |