wok-current annotate udpcast/receipt @ rev 25122
Up apache (2.4.54)
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Tue Jun 28 08:48:09 2022 +0000 (2022-06-28) |
parents | ee50917f30ae |
children |
rev | line source |
---|---|
pascal@1859 | 1 # SliTaz package receipt. |
pascal@1859 | 2 |
pascal@1859 | 3 PACKAGE="udpcast" |
Hans-G?nter@24311 | 4 VERSION="20211207" |
pascal@1859 | 5 CATEGORY="network" |
pascal@1862 | 6 SHORT_DESC="Multicast file transfer." |
pascal@1859 | 7 MAINTAINER="pascal.bellard@slitaz.org" |
pascal@15022 | 8 LICENSE="GPL2 BSD" |
Hans-G?nter@24311 | 9 WEB_SITE="http://udpcast.linux.lu/" |
Hans-G?nter@24311 | 10 |
pascal@1859 | 11 TARBALL="$PACKAGE-$VERSION.tar.gz" |
pascal@1859 | 12 WGET_URL="${WEB_SITE}download/$TARBALL" |
pascal@1859 | 13 |
pascal@24313 | 14 # What is the latest version available today? |
pascal@24313 | 15 current_version() |
pascal@24313 | 16 { |
pascal@24313 | 17 wget -O - ${WEB_SITE}downloads.html 2>/dev/null | \ |
pascal@24313 | 18 sed '/tar.gz/!d;s|.*udpcast-||;s|.tar.gz.*||;q' |
pascal@24313 | 19 } |
pascal@24313 | 20 |
pascal@1859 | 21 # Rules to configure and make the package. |
pascal@1859 | 22 compile_rules() |
pascal@1859 | 23 { |
Hans-G?nter@24311 | 24 ./configure \ |
Hans-G?nter@24311 | 25 --prefix=/usr \ |
Hans-G?nter@24311 | 26 --infodir=/usr/share/info \ |
Hans-G?nter@24311 | 27 --mandir=/usr/share/man \ |
Hans-G?nter@24311 | 28 $CONFIGURE_ARGS && |
pascal@1859 | 29 make && |
erjo@13430 | 30 make install |
pascal@1859 | 31 } |
pascal@1859 | 32 |
pascal@1859 | 33 # Rules to gen a SliTaz package suitable for Tazpkg. |
pascal@1859 | 34 genpkg_rules() |
pascal@1859 | 35 { |
Hans-G?nter@24311 | 36 cook_copy_folders sbin |
pascal@1859 | 37 } |
pascal@1859 | 38 |