gophernicus: update recipe

They have switched to rolling releases,
so the 1.5 tarball is not available anymore.

Just name it 2.0~git for now to force updates.
This commit is contained in:
François Revol
2019-03-09 18:00:30 +01:00
parent 4df9dff10f
commit f9a959fe7d

View File

@@ -1,14 +1,15 @@
SUMMARY="A modern full-featured gopher server"
DESCRIPTION="Gophernicus is a modern full-featured (and hopefully) secure \
gopher daemon for inetd. It is licensed under the BSD license."
HOMEPAGE="gopher://gophernicus.org/1/software/gophernicus/"
COPYRIGHT="2009-2014 Kim Holviala"
HOMEPAGE="https://github.com/kimholviala/gophernicus"
COPYRIGHT="2009-2019 Kim Holviala"
LICENSE="BSD (2-clause)"
REVISION="1"
SOURCE_URI="http://gophernicus.org/software/gophernicus/gophernicus-1.5.tar.gz"
CHECKSUM_SHA256="eeea761604a1b1277e74a673d0250f10024f99ced0889712e099093a651c232a"
srcGitRev="fc293e8202c58089f61345edb75d33cd246ca5d3"
SOURCE_URI="$HOMEPAGE/archive/$srcGitRev.tar.gz"
CHECKSUM_SHA256="eb3bb0ee0b4296d278d25399e7e54e2d1566cd61e911fcbf2642811461e138d4"
SOURCE_DIR="gophernicus-$srcGitRev"
#TODO:enable multithreading for the devel package!
ARCHITECTURES="x86_gcc2 x86 ?x86_64"
PROVIDES="
@@ -25,15 +26,20 @@ BUILD_REQUIRES="
BUILD_PREREQUIRES="
cmd:awk
cmd:gcc$secondaryArchSuffix
cmd:git
cmd:grep
cmd:ld$secondaryArchSuffix
cmd:make
cmd:sed
cmd:which
"
BUILD()
{
make DESTDIR=$prefix SBINDIR=$binDir DOCDIR=$docDir/gophernicus \
NET_SRV=$settingsDir/network/services
# we won't get proper history from git anyway.
touch ChangeLog
}
INSTALL()