wok view udpcast/receipt @ rev 24727
cookutils: add repo-cooking (used by tank)
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Tue Mar 15 10:59:31 2022 +0000 (2022-03-15) |
parents | ee50917f30ae |
children | 0600a43cc716 |
line source
1 # SliTaz package receipt.
3 PACKAGE="udpcast"
4 VERSION="20211207"
5 CATEGORY="network"
6 SHORT_DESC="Multicast file transfer."
7 MAINTAINER="pascal.bellard@slitaz.org"
8 LICENSE="GPL2 BSD"
9 WEB_SITE="http://udpcast.linux.lu/"
11 TARBALL="$PACKAGE-$VERSION.tar.gz"
12 WGET_URL="${WEB_SITE}download/$TARBALL"
14 # What is the latest version available today?
15 current_version()
16 {
17 wget -O - ${WEB_SITE}downloads.html 2>/dev/null | \
18 sed '/tar.gz/!d;s|.*udpcast-||;s|.tar.gz.*||;q'
19 }
21 # Rules to configure and make the package.
22 compile_rules()
23 {
24 ./configure \
25 --prefix=/usr \
26 --infodir=/usr/share/info \
27 --mandir=/usr/share/man \
28 $CONFIGURE_ARGS &&
29 make &&
30 make install
31 }
33 # Rules to gen a SliTaz package suitable for Tazpkg.
34 genpkg_rules()
35 {
36 cook_copy_folders sbin
37 }