wok view Geomyidae/receipt @ rev 25791

Up dropbear (2024.86), libssh2 (1.11.1), xz (5.6.3)
author Pascal Bellard <pascal.bellard@slitaz.org>
date Wed Oct 23 13:27:53 2024 +0000 (4 weeks ago)
parents ffe3a28f2096
children
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="https://www.r-36.net/scm/geomyidae/index.html"
11 SOURCE="geomyidae"
12 TARBALL="$SOURCE-v$VERSION.tgz"
13 WGET_URL="ftp://bitreich.org/releases/$SOURCE/$TARBALL"
15 # What is the latest version available today?
16 current_version()
17 {
18 wget -O - http://r-36.net/scm/geomyidae/refs.html 2> /dev/null | \
19 sed '/<td>/!d;s|.*v||;s|<.*||;/^[0-9]/!d;q'
20 }
22 # Rules to configure and make the package.
23 compile_rules()
24 {
25 make CC=gcc PREFIX=/usr &&
26 make install \
27 PREFIX=/usr \
28 DESTDIR=$DESTDIR || exit 1
29 }
31 # Rules to gen a SliTaz package suitable for Tazpkg.
32 genpkg_rules()
33 {
34 mkdir -p $fs/usr $fs/var/gopher
35 cp -a $src/index.gph $fs/var/gopher/
36 cp -a $install/usr/bin $fs/usr
37 }