wok annotate 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
rev   line source
pascal@19918 1 # SliTaz package receipt.
pascal@19918 2
pascal@19918 3 PACKAGE="udpxy"
Hans-G?nter@23714 4 VERSION="1.0.24.1"
pascal@19918 5 CATEGORY="network"
Hans-G?nter@23714 6 SHORT_DESC="An UDP-to-HTTP multicast traffic relay daemon."
pascal@19918 7 MAINTAINER="pascal.bellard@slitaz.org"
pascal@19918 8 LICENSE="GPL3"
pascal@19918 9 WEB_SITE="http://www.udpxy.com/"
Hans-G?nter@23714 10
Hans-G?nter@23714 11 TARBALL="$PACKAGE-$VERSION.tar.gz"
Hans-G?nter@23714 12 WGET_URL="https://github.com/pcherenkov/$PACKAGE/archive/${VERSION%.*.*}-${VERSION#*.*.}.tar.gz"
pascal@19918 13
pascal@24055 14 current_version()
pascal@24055 15 {
pascal@24055 16 wget -O - ${WGET_URL%/arch*}/releases 2>/dev/null | \
pascal@24055 17 sed '/archive.*tar/!d;s|.*/\(.*\).tar.*|\1|;s|-|.|;q'
pascal@24055 18 }
pascal@24055 19
pascal@19918 20 # Rules to configure and make the package.
pascal@19918 21 compile_rules()
pascal@19918 22 {
Hans-G?nter@23714 23 cd chipmunk &&
pascal@19918 24 make &&
pascal@19918 25 make DESTDIR=$DESTDIR install
pascal@19918 26 }
pascal@19918 27
pascal@19918 28 # Rules to gen a SliTaz package suitable for Tazpkg.
pascal@19918 29 genpkg_rules()
pascal@19918 30 {
pascal@19918 31 mkdir -p $fs/usr
Hans-G?nter@23714 32 cp -a $install/usr/local/bin $fs/usr
pascal@19918 33 }