wok-6.x view srcpd/receipt @ rev 25561

created recipe for ext4magic
author Hans-G?nter Theisgen
date Sun Apr 30 06:26:09 2023 +0100 (18 months ago)
parents 8ea0030e77cb
children
line source
1 # SliTaz package receipt.
3 PACKAGE="srcpd"
4 VERSION="2.1.5"
5 CATEGORY="games"
6 SHORT_DESC="Simple Railroad Command Protocol Daemon."
7 MAINTAINER="rcx@zoominternet.net"
8 LICENSE="GPL2"
9 WEB_SITE="https://sourceforge.net/projects/srcpd/"
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 cook_copy_folders etc
41 cook_copy_folders sbin
42 }