wok view Geomyidae/receipt @ rev 25691

Up lynis (3.1.1), ncurses-examples (20211021)
author Pascal Bellard <pascal.bellard@slitaz.org>
date Tue Apr 16 10:43:04 2024 +0000 (2 weeks ago)
parents 1e09c4c56491
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="http://www.r-36.net/scm/geomyidae/"
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 }