wok-6.x annotate udpxy/receipt @ rev 25104
Up klavaro (1.2.2)
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Wed Jun 22 08:45:04 2022 +0000 (2022-06-22) |
parents | ac8ca9758df1 |
children | 0235fd8c4128 |
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@24976 | 9 WEB_SITE="https://github.com/pcherenkov/udpxy" |
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@24299 | 16 wget -O - ${WGET_URL%/arch*}/tags 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 } |