diff options
author | Dave Woodfall <dave@slackbuilds.org> | 2021-04-20 20:36:50 +0000 |
---|---|---|
committer | Robby Workman <rworkman@slackbuilds.org> | 2021-04-20 17:53:22 -0500 |
commit | 69a34f3e21646c62d9a70bca60f5ead377c1e10d (patch) | |
tree | 9cfdb7c2284c70194c5da10668a3e3b0d10f2a07 /network/psi-plus/psi-plus.SlackBuild | |
parent | 5622422b118108004e56eb53858551a2cf16685f (diff) |
network/psi-plus: Updated for version 1.5.1484.
Signed-off-by: Dave Woodfall <dave@slackbuilds.org>
Diffstat (limited to 'network/psi-plus/psi-plus.SlackBuild')
-rw-r--r-- | network/psi-plus/psi-plus.SlackBuild | 25 |
1 files changed, 15 insertions, 10 deletions
diff --git a/network/psi-plus/psi-plus.SlackBuild b/network/psi-plus/psi-plus.SlackBuild index 3173557869b3..de8a2688e97e 100644 --- a/network/psi-plus/psi-plus.SlackBuild +++ b/network/psi-plus/psi-plus.SlackBuild @@ -24,7 +24,7 @@ # ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. PRGNAM=psi-plus -VERSION=${VERSION:-1.4.650} +VERSION=${VERSION:-1.5.1484} BUILD=${BUILD:-1} TAG=${TAG:-_SBo} @@ -70,20 +70,25 @@ 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 {} \; -./configure \ - --prefix=/usr \ - --qtdir=/usr/lib$LIBDIRSUFFIX/qt5 - -QMAKE_CFLAGS="$SLKCFLAGS" \ -QMAKE_CXXFLAGS="$SLKCFLAGS" \ -make -make install INSTALL_ROOT=$PKG +mkdir -p build +cd build + cmake \ + -DCMAKE_C_FLAGS:STRING="$SLKCFLAGS" \ + -DCMAKE_CXX_FLAGS:STRING="$SLKCFLAGS" \ + -DCMAKE_INSTALL_PREFIX=/usr \ + -DLIB_SUFFIX=${LIBDIRSUFFIX} \ + -DBUNDLED_USRSCTP=ON \ + -DBUNDLED_QCA=ON \ + -DCMAKE_BUILD_TYPE=Release .. + make + make install DESTDIR=$PKG +cd .. 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 CHANGELOG COPYING INSTALL README $PKG/usr/doc/$PRGNAM-$VERSION +cp -a CHANGELOG COPYING README $PKG/usr/doc/$PRGNAM-$VERSION cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild mkdir -p $PKG/install |