wok-6.x annotate srcpd/receipt @ rev 25377
updated udpxy (1.0.24.1 -> 1.0.25.1)
author | Hans-G?nter Theisgen |
---|---|
date | Sat Jul 30 11:20:37 2022 +0100 (2022-07-30) |
parents | e919c5a2742d |
children | 8ea0030e77cb |
rev | line source |
---|---|
rcx@3299 | 1 # SliTaz package receipt. |
rcx@3299 | 2 |
rcx@3299 | 3 PACKAGE="srcpd" |
Hans-G?nter@25329 | 4 VERSION="2.1.5" |
rcx@3299 | 5 CATEGORY="games" |
Hans-G?nter@21967 | 6 SHORT_DESC="Simple Railroad Command Protocol Daemon." |
rcx@3299 | 7 MAINTAINER="rcx@zoominternet.net" |
pascal@15002 | 8 LICENSE="GPL2" |
Hans-G?nter@25329 | 9 WEB_SITE="https://srcpd.sourceforge.net/" |
Hans-G?nter@21967 | 10 |
rcx@3299 | 11 TARBALL="$PACKAGE-$VERSION.tar.gz" |
rcx@3299 | 12 WGET_URL="$SF_MIRROR/$PACKAGE/$TARBALL" |
rcx@3299 | 13 |
pascal@15002 | 14 DEPENDS="glibc-base libxml2 zlib" |
pascal@15002 | 15 BUILD_DEPENDS="libxml2-dev zlib-dev" |
pascal@15002 | 16 |
Hans-G?nter@21967 | 17 CONFIG_FILES="/etc/srcpd.conf" |
Hans-G?nter@21967 | 18 |
pascal@24348 | 19 # What is the latest version available today? |
pascal@24348 | 20 current_version() |
pascal@24348 | 21 { |
pascal@24348 | 22 wget -O - https://sourceforge.net/projects/srcpd/files/srcpd/ 2>/dev/null | \ |
pascal@24348 | 23 sed '/scope="row/!d;s|.*href="|"https://sourceforge.net|;q' | xargs wget -O - 2>/dev/null | \ |
pascal@24348 | 24 sed '/scope="row/!d;s|.*/srcpd/||;s|/.*||;q' |
pascal@24348 | 25 } |
pascal@24348 | 26 |
rcx@3299 | 27 # Rules to configure and make the package. |
rcx@3299 | 28 compile_rules() |
rcx@3299 | 29 { |
Hans-G?nter@21967 | 30 ./configure \ |
Hans-G?nter@21967 | 31 --sysconfdir=/etc \ |
Hans-G?nter@21967 | 32 $CONFIGURE_ARGS && |
slaxemulator@8987 | 33 make && |
slaxemulator@8987 | 34 make install |
rcx@3299 | 35 } |
rcx@3299 | 36 |
rcx@3299 | 37 # Rules to gen a SliTaz package suitable for Tazpkg. |
rcx@3299 | 38 genpkg_rules() |
rcx@3299 | 39 { |
Hans-G?nter@25329 | 40 cook_copy_folders etc |
Hans-G?nter@25329 | 41 cook_copy_folders sbin |
rcx@3299 | 42 } |