Files
haikuports/net-ftp/ftp/ftp-20121221.recipe
2014-12-27 12:42:29 +01:00

50 lines
971 B
Plaintext

SUMMARY="Standard FTP client"
DESCRIPTION="ftp is a standard command line client for connecting to FTP \
servers. The File Transfer protocol (defined in RFC 959) is used for \
transferring files from one computer to another over a network."
HOMEPAGE="http://netbsd.org/"
SRC_URI="cvs://anoncvs@anoncvs.NetBSD.org:/cvsroot/src/usr.bin/ftp#2012-12-21"
REVISION="1"
LICENSE="BSD (3-clause)"
COPYRIGHT="1997-2012 The NetBSD Foundation, Inc."
ARCHITECTURES="x86_gcc2 x86 x86_64"
PROVIDES="
ftp = $portVersion
cmd:ftp
"
REQUIRES="
haiku
lib:libedit
"
BUILD_REQUIRES="
haiku_devel
devel:libedit
"
BUILD_PREREQUIRES="
cmd:gcc
"
PATCH()
{
sed -i 's/#include <tzfile.h>//g' *.c
}
BUILD()
{
gcc -Dlint -DDIRENT_MISSING_D_NAMLEN -DINFTIM=-1 -DSECSPERHOUR=3600 -DSECSPERDAY=86400 \
cmds.c cmdtab.c complete.c domacro.c fetch.c ftp.c main.c \
progressbar.c ruserpass.c util.c -o ftp \
-lnetwork -ledit -lbsd
}
INSTALL()
{
mkdir -p $binDir
cp ftp $binDir
}