wok view udpxy/receipt @ rev 24976

Update some wget_url
author Pascal Bellard <pascal.bellard@slitaz.org>
date Fri May 06 11:04:25 2022 +0000 (24 months ago)
parents ac8ca9758df1
children 0235fd8c4128
line source
1 # SliTaz package receipt.
3 PACKAGE="udpxy"
4 VERSION="1.0.24.1"
5 CATEGORY="network"
6 SHORT_DESC="An UDP-to-HTTP multicast traffic relay daemon."
7 MAINTAINER="pascal.bellard@slitaz.org"
8 LICENSE="GPL3"
9 WEB_SITE="https://github.com/pcherenkov/udpxy"
11 TARBALL="$PACKAGE-$VERSION.tar.gz"
12 WGET_URL="https://github.com/pcherenkov/$PACKAGE/archive/${VERSION%.*.*}-${VERSION#*.*.}.tar.gz"
14 current_version()
15 {
16 wget -O - ${WGET_URL%/arch*}/tags 2>/dev/null | \
17 sed '/archive.*tar/!d;s|.*/\(.*\).tar.*|\1|;s|-|.|;q'
18 }
20 # Rules to configure and make the package.
21 compile_rules()
22 {
23 cd chipmunk &&
24 make &&
25 make DESTDIR=$DESTDIR install
26 }
28 # Rules to gen a SliTaz package suitable for Tazpkg.
29 genpkg_rules()
30 {
31 mkdir -p $fs/usr
32 cp -a $install/usr/local/bin $fs/usr
33 }