wok view udpxy/receipt @ rev 25442

Update some wget_url
author Pascal Bellard <pascal.bellard@slitaz.org>
date Fri Sep 02 16:30:36 2022 +0000 (2022-09-02)
parents 1805f71c5d9f
children
line source
1 # SliTaz package receipt.
3 PACKAGE="udpxy"
4 VERSION="1.0.25.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 DEPENDS="gcc83-lib-base"
15 BUILD_DEPENDS="gcc83"
17 current_version()
18 {
19 wget -O - ${WGET_URL%/arch*}/tags 2>/dev/null | \
20 sed '/archive.*tar/!d;s|.*/\(.*\).tar.*|\1|;s|-|.|;q'
21 }
23 # Rules to configure and make the package.
24 compile_rules()
25 {
26 cd chipmunk &&
27 make \
28 CC=gcc-83 \
29 PREFIX=/usr &&
30 make install \
31 PREFIX=/usr \
32 DESTDIR=$DESTDIR
33 }
35 # Rules to gen a SliTaz package suitable for Tazpkg.
36 genpkg_rules()
37 {
38 cook_copy_folders bin
39 }