wok view Geomyidae/receipt @ rev 24093

Up squashfs (4.5)
author Pascal Bellard <pascal.bellard@slitaz.org>
date Tue Jul 27 16:57:54 2021 +0000 (2021-07-27)
parents 0799151308be
children 46dcc80bef41
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 | \
19 cat X | 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 }