wok-current view Geomyidae/receipt @ rev 24948

updated nagios-nrpe again (4.0.2 -> 4.0.3)
author Hans-G?nter Theisgen
date Fri Apr 22 17:47:12 2022 +0100 (2022-04-22)
parents a3b6dd3aac6f
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/"
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 current_version()
17 {
18 wget -O - http://r-36.net/scm/geomyidae/refs.html 2> /dev/null | \
19 sed '/<td>/!d;s|.*v||;s|<.*||' | sed '$!d'
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 }