diff options
author | Kent Fritz <fritz.kent@gmail.com> | 2023-07-02 21:06:10 +0700 |
---|---|---|
committer | Willy Sudiarto Raharjo <willysr@slackbuilds.org> | 2023-07-02 21:27:52 +0700 |
commit | 30b346aa4b91e59ab69fa2f497ad7127694d1947 (patch) | |
tree | 0817f3dd024e67209f7645840ddff70e032c81ab /network/sipp/sipp.SlackBuild | |
parent | 2a0e5b16de8716501dcda8cac23844fff6dfdce9 (diff) |
network/sipp: Updated for version 3.7.1.
Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
Diffstat (limited to 'network/sipp/sipp.SlackBuild')
-rw-r--r-- | network/sipp/sipp.SlackBuild | 34 |
1 files changed, 16 insertions, 18 deletions
diff --git a/network/sipp/sipp.SlackBuild b/network/sipp/sipp.SlackBuild index 9836f909549cd..5fc0c3217598d 100644 --- a/network/sipp/sipp.SlackBuild +++ b/network/sipp/sipp.SlackBuild @@ -25,7 +25,7 @@ cd $(dirname $0) ; CWD=$(pwd) PRGNAM=sipp -VERSION=${VERSION:-3.6.0} +VERSION=${VERSION:-3.7.1} BUILD=${BUILD:-1} TAG=${TAG:-_SBo} PKGTYPE=${PKGTYPE:-tgz} @@ -79,23 +79,21 @@ 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 {} \; -CFLAGS="$SLKCFLAGS" \ -CXXFLAGS="$SLKCFLAGS" \ -./configure \ - --prefix=/usr \ - --libdir=/usr/lib${LIBDIRSUFFIX} \ - --sysconfdir=/etc \ - --localstatedir=/var \ - --mandir=/usr/man \ - --docdir=/usr/doc/$PRGNAM-$VERSION \ - --build=$ARCH-slackware-linux \ - --with-gsl \ - --with-openssl \ - --with-pcap \ - --with-rtpstream - -make -make install DESTDIR=$PKG +mkdir -p build +cd build + cmake \ + -DCMAKE_C_FLAGS:STRING="$SLKCFLAGS" \ + -DCMAKE_CXX_FLAGS:STRING="$SLKCFLAGS" \ + -DCMAKE_INSTALL_PREFIX=/usr \ + -DCMAKE_BUILD_TYPE=Release \ + -DUSE_SSL=1 \ + -DUSE_PCAP=1 \ + -DUSE_GSL=1 .. + make + make install/strip DESTDIR=$PKG +cd .. +mkdir -p $PKG/usr/man/man1 +cp -a sipp.1 $PKG/usr/man/man1 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 |