wok view sctp-tools/receipt @ rev 25460

Update sourceforge.net web_sites with https://
author Pascal Bellard <pascal.bellard@slitaz.org>
date Wed Sep 28 08:10:35 2022 +0000 (2022-09-28)
parents e919c5a2742d
children
line source
1 # SliTaz package receipt.
3 PACKAGE="sctp-tools"
4 VERSION="1.0.17"
5 CATEGORY="network"
6 SHORT_DESC="Stream Control Transmission Protocol tools."
7 MAINTAINER="pascal.bellard@slitaz.org"
8 LICENSE="GPL2 LGPL2.1"
9 WEB_SITE="https://lksctp.sourceforge.net/"
11 SOURCE="lksctp-tools"
12 TARBALL="$SOURCE-$VERSION.tar.gz"
13 WGET_URL="$SF_MIRROR/lksctp/$SOURCE/$TARBALL"
15 DEPENDS="libsctp"
17 # What is the latest version available today?
18 current_version()
19 {
20 wget -O - https://sourceforge.net/projects/lksctp/files/lksctp-tools/ 2>/dev/null | \
21 sed '/scope="row/!d;s|.*/lksctp-tools-||;s|.tar.*||;q'
22 }
24 # Rules to configure and make the package.
25 compile_rules()
26 {
27 ln -s $src $PACKAGE-$VERSION
28 cd $src
30 ./configure \
31 --prefix=/usr \
32 --infodir=/usr/share/info \
33 --mandir=/usr/share/man \
34 $CONFIGURE_ARGS &&
35 make -j 1 &&
36 make DESTDIR=$DESTDIR install
37 }
39 # Rules to gen a SliTaz package suitable for Tazpkg.
40 genpkg_rules()
41 {
42 mkdir -p $fs/usr/lib/lksctp-tools
44 cp -a $install/usr/bin $fs/usr
45 cp -a $install/usr/lib/lksctp-tools/libwithsctp.so* \
46 $fs/usr/lib/lksctp-tools
47 }