mirror of
https://github.com/yann64/haikuports.git
synced 2026-05-03 05:28:53 +02:00
56 lines
1.2 KiB
Bash
56 lines
1.2 KiB
Bash
SUMMARY="Advanced tftp server and client"
|
|
DESCRIPTION="atftp is a client/server implementation of the TFTP protocol \
|
|
that implements RFCs 1350, 2090, 2347, 2348, and 2349. The server is \
|
|
multi-threaded and the client presents a friendly interface using libreadline."
|
|
HOMEPAGE="http://sourceforge.net/projects/atftp/"
|
|
SOURCE_URI="http://sourceforge.net/projects/atftp/files/atftp-$portVersion.tar.gz/download"
|
|
SOURCE_FILENAME="atfp-$portVersion.tar.gz"
|
|
CHECKSUM_SHA256="ae4c6f09cadb8d2150c3ce32d88f19036a54e8211f22d723e97864bb5e18f92d"
|
|
REVISION="1"
|
|
LICENSE="GNU GPL v2"
|
|
COPYRIGHT="2000-2012 Jean-Pierre Lefebvre & Remi Lefebvre"
|
|
ARCHITECTURES="x86_gcc2 ?x86 ?x86_64"
|
|
PATCHES="atftp-$portVersion.patchset"
|
|
|
|
PROVIDES="
|
|
atftp = $portVersion
|
|
cmd:atftp = $portVersion
|
|
cmd:atftpd = $portVersion
|
|
cmd:in.tftpd = $portVersion
|
|
"
|
|
|
|
REQUIRES="
|
|
haiku
|
|
lib:libreadline
|
|
lib:libncurses
|
|
"
|
|
|
|
BUILD_REQUIRES="
|
|
haiku_devel
|
|
devel:libreadline
|
|
devel:libncurses
|
|
"
|
|
|
|
BUILD_PREREQUIRES="
|
|
cmd:awk
|
|
cmd:gcc
|
|
cmd:make
|
|
"
|
|
|
|
PATCH()
|
|
{
|
|
sed -i "s/-lpthread/-lroot/g" configure
|
|
}
|
|
|
|
BUILD()
|
|
{
|
|
runConfigure ./configure
|
|
sed -i "s/LIBS =/LIBS = -lnetwork -lbsd/" Makefile
|
|
make $jobArgs
|
|
}
|
|
|
|
INSTALL()
|
|
{
|
|
make install
|
|
}
|