wok-current view sctp-tools/receipt @ rev 24903
updated mercurial (5.3.1 -> 6.1.1)
author | Hans-G?nter Theisgen |
---|---|
date | Sat Apr 09 11:10:54 2022 +0100 (2022-04-09) |
parents | 69be3deacda4 |
children | 7dd01dedad38 |
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="http://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 }