wok-current annotate udpxy/receipt @ rev 25525
created recipe for lua5.1-lpeg 1.0.2
author | Hans-G?nter Theisgen |
---|---|
date | Fri Feb 24 17:54:40 2023 +0100 (18 months ago) |
parents | 1805f71c5d9f |
children |
rev | line source |
---|---|
pascal@19918 | 1 # SliTaz package receipt. |
pascal@19918 | 2 |
pascal@19918 | 3 PACKAGE="udpxy" |
Hans-G?nter@25377 | 4 VERSION="1.0.25.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 |
Hans-G?nter@25377 | 14 DEPENDS="gcc83-lib-base" |
Hans-G?nter@25377 | 15 BUILD_DEPENDS="gcc83" |
Hans-G?nter@25377 | 16 |
pascal@24055 | 17 current_version() |
pascal@24055 | 18 { |
pascal@24299 | 19 wget -O - ${WGET_URL%/arch*}/tags 2>/dev/null | \ |
pascal@24055 | 20 sed '/archive.*tar/!d;s|.*/\(.*\).tar.*|\1|;s|-|.|;q' |
pascal@24055 | 21 } |
pascal@24055 | 22 |
pascal@19918 | 23 # Rules to configure and make the package. |
pascal@19918 | 24 compile_rules() |
pascal@19918 | 25 { |
Hans-G?nter@23714 | 26 cd chipmunk && |
Hans-G?nter@25377 | 27 make \ |
Hans-G?nter@25377 | 28 CC=gcc-83 \ |
Hans-G?nter@25377 | 29 PREFIX=/usr && |
Hans-G?nter@25377 | 30 make install \ |
Hans-G?nter@25377 | 31 PREFIX=/usr \ |
Hans-G?nter@25377 | 32 DESTDIR=$DESTDIR |
pascal@19918 | 33 } |
pascal@19918 | 34 |
pascal@19918 | 35 # Rules to gen a SliTaz package suitable for Tazpkg. |
pascal@19918 | 36 genpkg_rules() |
pascal@19918 | 37 { |
Hans-G?nter@25377 | 38 cook_copy_folders bin |
pascal@19918 | 39 } |