tnftp: convert to an actual recipe. (#1240)

* remove ftp.
This commit is contained in:
walkerlala
2017-03-23 10:20:23 +00:00
committed by Jérôme Duval
parent 5e965cd904
commit ea6c20b776
5 changed files with 105 additions and 85 deletions

View File

@@ -0,0 +1,54 @@
SUMMARY="NetBSD luke FTP client"
DESCRIPTION="NetBSD FTP client with several advanced features"
LICENSE="BSD (2-clause)"
COPYRIGHT="2001-2015 The NetBSD Foundation, Inc. All rights reserved."
HOMEPAGE="http://ftp.netbsd.org/pub/NetBSD/misc/tnftp/"
REVISION="1"
SOURCE_URI="$HOMEPAGE/tnftp-$portVersion.tar.gz"
CHECKSUM_SHA256="c94a8a49d3f4aec1965feea831d4d5bf6f90c65fd8381ee0863d11a5029a43a0"
PATCHES="tnftp-$portVersion.patch"
ARCHITECTURES="x86_64 x86 x86_gcc2"
PROVIDES="
tnftp = $portVersion
cmd:tnftp
"
REQUIRES="
haiku
lib:libncurses
"
BUILD_REQUIRES="
haiku_devel
devel:libncurses
"
BUILD_PREREQUIRES="
cmd:aclocal
cmd:autoconf
cmd:automake
cmd:autoheader
cmd:gcc
cmd:ld
cmd:libtoolize
cmd:make
"
BUILD()
{
export LDFLAGS="-lnetwork"
export CFLAGS="-D_BSD_SOURCE"
libtoolize --force --copy --install
aclocal
autoconf
automake --add-missing
autoheader
runConfigure ./configure
make
}
INSTALL()
{
make install
}