wok annotate srcpd/receipt @ rev 25625

Add opendkim (again)
author Pascal Bellard <pascal.bellard@slitaz.org>
date Wed Nov 08 17:14:09 2023 +0000 (13 months ago)
parents 69e1e705f038
children
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"
pascal@25510 9 WEB_SITE="https://sourceforge.net/projects/srcpd/"
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@25607 23 sed '/scope="row/!d;s|.*a href="|"https://sourceforge.net|;s| .*||;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 }