mirror of
https://github.com/yann64/haikuports.git
synced 2026-05-04 22:18:55 +02:00
* Referring the current haiku version explicitly is not needed, since the RequiresUpdater takes care of setting the version of Haiku used for building a package.
57 lines
1.3 KiB
Plaintext
57 lines
1.3 KiB
Plaintext
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
|
|
"
|
|
|
|
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
|
|
}
|