wok-current annotate sctp-tools/receipt @ rev 25733
Accept licence PyQt-x11-gpl, bump firmware* to 20240610, build imagemagick (merge)
author | Stanislas Leduc <shann@slitaz.org> |
---|---|
date | Fri Dec 20 16:13:23 2024 +0000 (2 days ago) |
parents | e919c5a2742d |
children |
rev | line source |
---|---|
pascal@4926 | 1 # SliTaz package receipt. |
pascal@4926 | 2 |
pascal@4926 | 3 PACKAGE="sctp-tools" |
Hans-G?nter@21287 | 4 VERSION="1.0.17" |
pascal@4926 | 5 CATEGORY="network" |
pascal@4926 | 6 SHORT_DESC="Stream Control Transmission Protocol tools." |
pascal@4926 | 7 MAINTAINER="pascal.bellard@slitaz.org" |
pascal@15482 | 8 LICENSE="GPL2 LGPL2.1" |
pascal@25460 | 9 WEB_SITE="https://lksctp.sourceforge.net/" |
Hans-G?nter@21287 | 10 |
pascal@4926 | 11 SOURCE="lksctp-tools" |
pascal@4926 | 12 TARBALL="$SOURCE-$VERSION.tar.gz" |
Hans-G?nter@21287 | 13 WGET_URL="$SF_MIRROR/lksctp/$SOURCE/$TARBALL" |
pascal@15482 | 14 |
pascal@4926 | 15 DEPENDS="libsctp" |
pascal@4926 | 16 |
pascal@24348 | 17 # What is the latest version available today? |
pascal@24348 | 18 current_version() |
pascal@24348 | 19 { |
pascal@24348 | 20 wget -O - https://sourceforge.net/projects/lksctp/files/lksctp-tools/ 2>/dev/null | \ |
pascal@24348 | 21 sed '/scope="row/!d;s|.*/lksctp-tools-||;s|.tar.*||;q' |
pascal@24348 | 22 } |
pascal@24348 | 23 |
pascal@4926 | 24 # Rules to configure and make the package. |
pascal@4926 | 25 compile_rules() |
pascal@4926 | 26 { |
pascal@4926 | 27 ln -s $src $PACKAGE-$VERSION |
pascal@4926 | 28 cd $src |
Hans-G?nter@21287 | 29 |
Hans-G?nter@21287 | 30 ./configure \ |
Hans-G?nter@21287 | 31 --prefix=/usr \ |
Hans-G?nter@21287 | 32 --infodir=/usr/share/info \ |
Hans-G?nter@21287 | 33 --mandir=/usr/share/man \ |
Hans-G?nter@21287 | 34 $CONFIGURE_ARGS && |
Hans-G?nter@21287 | 35 make -j 1 && |
pascal@15482 | 36 make DESTDIR=$DESTDIR install |
pascal@4926 | 37 } |
pascal@4926 | 38 |
pascal@4926 | 39 # Rules to gen a SliTaz package suitable for Tazpkg. |
pascal@4926 | 40 genpkg_rules() |
pascal@4926 | 41 { |
pascal@4926 | 42 mkdir -p $fs/usr/lib/lksctp-tools |
Hans-G?nter@21287 | 43 |
Hans-G?nter@21287 | 44 cp -a $install/usr/bin $fs/usr |
pascal@15482 | 45 cp -a $install/usr/lib/lksctp-tools/libwithsctp.so* \ |
pascal@4926 | 46 $fs/usr/lib/lksctp-tools |
pascal@4926 | 47 } |