wok view srcpd/receipt @ rev 25148

updated privoxy (3.0.28 -> 3.0.33)
author Hans-G?nter Theisgen
date Wed Jun 29 16:30:00 2022 +0100 (2022-06-29)
parents 40ff746a5f02
children 44fa9ce8ef11
line source
1 # SliTaz package receipt.
3 PACKAGE="srcpd"
4 VERSION="2.1.3"
5 CATEGORY="games"
6 SHORT_DESC="Simple Railroad Command Protocol Daemon."
7 MAINTAINER="rcx@zoominternet.net"
8 LICENSE="GPL2"
9 WEB_SITE="http://srcpd.sourceforge.net/"
11 TARBALL="$PACKAGE-$VERSION.tar.gz"
12 WGET_URL="$SF_MIRROR/$PACKAGE/$TARBALL"
14 DEPENDS="glibc-base libxml2 zlib"
15 BUILD_DEPENDS="libxml2-dev zlib-dev"
17 CONFIG_FILES="/etc/srcpd.conf"
19 # What is the latest version available today?
20 current_version()
21 {
22 wget -O - https://sourceforge.net/projects/srcpd/files/srcpd/ 2>/dev/null | \
23 sed '/scope="row/!d;s|.*href="|"https://sourceforge.net|;q' | xargs wget -O - 2>/dev/null | \
24 sed '/scope="row/!d;s|.*/srcpd/||;s|/.*||;q'
25 }
27 # Rules to configure and make the package.
28 compile_rules()
29 {
30 ./configure \
31 --sysconfdir=/etc \
32 $CONFIGURE_ARGS &&
33 make &&
34 make install
35 }
37 # Rules to gen a SliTaz package suitable for Tazpkg.
38 genpkg_rules()
39 {
40 mkdir -p $fs/usr
42 cp -a $install/usr/sbin $fs/usr
43 cp -a $install/etc $fs
44 }