wok view udpxy/receipt @ rev 24142

linux-aufs: git checkout problem ?
author Pascal Bellard <pascal.bellard@slitaz.org>
date Mon Nov 15 08:46:59 2021 +0000 (2021-11-15)
parents b27ecf21e67c
children ac8ca9758df1
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="http://www.udpxy.com/"
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*}/releases 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 }