diff --git a/net-misc/gophernicus/gophernicus-1.5.recipe b/net-misc/gophernicus/gophernicus-1.5.recipe new file mode 100644 index 000000000..1bddd97aa --- /dev/null +++ b/net-misc/gophernicus/gophernicus-1.5.recipe @@ -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 +}