Files
haikuports/net-misc/gophernicus/gophernicus-1.5.recipe
Humdinger 3ea69a805d De-lint recipes.
*	gnash
	Don't start SUMMARY with app name
	Re-ordered blocks

*	gophernicus
	Don't start SUMMARY with app name
	Re-ordered blocks

*	harfbuzz
	Don't start SUMMARY with app name
	Re-ordered blocks

*	inconsolata
	Don't start SUMMARY with app name
	Re-ordered blocks

*	indent
	Don't start SUMMARY with app name
	Re-ordered blocks
	Fixed (SECONDARY_)ARCHITECTURES and PROVIDES

*	inputproto
	Don't start SUMMARY with app name
	Improved SUMMARY and DESCRIPTION
	Re-ordered blocks

*	jamvm
	Don't start SUMMARY with app name
	Removed "DEPEND"
	Re-ordered blocks

*	jpeg
	Don't start SUMMARY with app name
	Re-ordered blocks

*	jgmod
	Don't start SUMMARY with app name
	Re-ordered blocks

*	kbproto
	Don't start SUMMARY with app name
	Re-ordered blocks

*	kdiff3
	Don't start SUMMARY with app name
	Re-ordered blocks

*	libdom
	Don't start SUMMARY with app name
	Re-ordered blocks
	Removed $secondaryArchSuffix as there are no 2nd archs declared

*	libdvdcss
	Don't start SUMMARY with app name
	Re-ordered blocks

*	libdwarf
	Don't start SUMMARY with app name
	Re-ordered blocks

*	libevent
	Minor cosmetics
	Re-ordered blocks
2015-08-07 16:40:23 +02:00

52 lines
1.3 KiB
Bash

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"
LICENSE="BSD (2-clause)"
REVISION="1"
SOURCE_URI="http://gophernicus.org/software/gophernicus/gophernicus-1.5.tar.gz"
CHECKSUM_SHA256="eeea761604a1b1277e74a673d0250f10024f99ced0889712e099093a651c232a"
#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
"
BUILD_REQUIRES="
haiku${secondaryArchSuffix}_devel
"
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
}