wok view Geomyidae/receipt @ rev 25610

Update some current_version
author Pascal Bellard <pascal.bellard@slitaz.org>
date Fri Jul 21 17:16:04 2023 +0000 (10 months ago)
parents 46dcc80bef41
children 120dd6158093
line source
1 # SliTaz package receipt.
3 PACKAGE="Geomyidae"
4 VERSION="0.34"
5 CATEGORY="network"
6 SHORT_DESC="Geomyidae is a daemon for serving the Gopher protocol."
7 MAINTAINER="allan316@gmail.com"
8 LICENSE="MIT"
9 WEB_SITE="http://www.r-36.net/"
11 SOURCE="geomyidae"
12 TARBALL="$SOURCE-v$VERSION.tgz"
13 #WGET_URL="${WEB_SITE}src/$PACKAGE/$TARBALL"
14 WGET_URL="ftp://bitreich.org/releases/$SOURCE/$TARBALL"
16 # What is the latest version available today?
17 current_version()
18 {
19 wget -O - http://r-36.net/scm/geomyidae/refs.html 2> /dev/null | \
20 sed '/<td>/!d;s|.*v||;s|<.*||;/^[0-9]/!d;q'
21 }
23 # Rules to configure and make the package.
24 compile_rules()
25 {
26 make CC=gcc PREFIX=/usr &&
27 make install \
28 PREFIX=/usr \
29 DESTDIR=$DESTDIR || exit 1
30 }
32 # Rules to gen a SliTaz package suitable for Tazpkg.
33 genpkg_rules()
34 {
35 mkdir -p $fs/usr $fs/var/gopher
36 cp -a $src/index.gph $fs/var/gopher/
37 cp -a $install/usr/bin $fs/usr
38 }