mirror of
https://github.com/yann64/haikuports.git
synced 2026-04-22 19:50:05 +02:00
Add a preliminary recipe for gophernicus
Doesn't install as a net_server service yet. One must also create /var/gopher/ manually.
This commit is contained in:
56
net-misc/gophernicus/gophernicus-1.5.recipe
Normal file
56
net-misc/gophernicus/gophernicus-1.5.recipe
Normal file
@@ -0,0 +1,56 @@
|
||||
SUMMARY="Gophernicus is 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.
|
||||
"
|
||||
COPYRIGHT="2009-2014 Kim Holviala"
|
||||
LICENSE="BSD (2-clause)"
|
||||
HOMEPAGE="gopher://gophernicus.org/1/software/gophernicus/"
|
||||
SRC_URI="http://gophernicus.org/software/gophernicus/gophernicus-1.5.tar.gz"
|
||||
CHECKSUM_SHA256="eeea761604a1b1277e74a673d0250f10024f99ced0889712e099093a651c232a"
|
||||
REVISION="1"
|
||||
|
||||
#TODO:enable multithreading for the devel package!
|
||||
|
||||
ARCHITECTURES="x86_gcc2 x86 ?x86_64"
|
||||
|
||||
PROVIDES="
|
||||
gophernicus$secondaryArchSuffix = $portVersion
|
||||
cmd:in.gophernicus$secondaryArchSuffix = $portVersion
|
||||
"
|
||||
|
||||
REQUIRES="
|
||||
haiku$secondaryArchSuffix >= $haikuVersion
|
||||
"
|
||||
|
||||
BUILD_REQUIRES="
|
||||
haiku${secondaryArchSuffix}_devel >= $haikuVersion
|
||||
"
|
||||
|
||||
BUILD_PREREQUIRES="
|
||||
cmd:awk
|
||||
cmd:gcc$secondaryArchSuffix
|
||||
cmd:ld$secondaryArchSuffix
|
||||
cmd:make
|
||||
cmd:sed
|
||||
"
|
||||
|
||||
BUILD()
|
||||
{
|
||||
make DESTDIR=$prefix SBINDIR=$binDir DOCDIR=$docDir/gophernicus \
|
||||
NET_SRV=$settingsDir/network/services
|
||||
}
|
||||
|
||||
INSTALL()
|
||||
{
|
||||
mkdir -p $binDir
|
||||
mkdir -p $docDir
|
||||
|
||||
make DESTDIR=$prefix SBINDIR=$binDir DOCDIR=$docDir/gophernicus \
|
||||
NET_SRV=$settingsDir/network/services \
|
||||
install-files install-docs install-done
|
||||
#TODO: add as a post_install ?
|
||||
#install-root
|
||||
#TODO: add code to enable it with net_server
|
||||
#install-haiku
|
||||
}
|
||||
Reference in New Issue
Block a user