aria2: added a recipe for version 1.18.7

This commit is contained in:
Jerome Duval
2015-02-02 22:39:34 +00:00
parent 9a437a5759
commit 49cd87936a
2 changed files with 101 additions and 0 deletions

View File

@@ -0,0 +1,78 @@
SUMMARY="Secure Shell Client and Server (Remote Login Program)"
DESCRIPTION="
OpenSSH is a FREE version of the SSH connectivity tools that technical users \
of the Internet rely on. Users of telnet, rlogin, and ftp may not realize that \
their password is transmitted across the Internet unencrypted, but it is. \
OpenSSH encrypts all traffic (including passwords) to effectively eliminate \
eavesdropping, connection hijacking, and other attacks. Additionally, OpenSSH \
provides secure tunneling capabilities and several authentication methods, and \
supports all SSH protocol versions.
The OpenSSH suite replaces rlogin and telnet with the ssh program, rcp with \
scp, and ftp with sftp. Also included is sshd (the server side of the \
package), and the other utilities like ssh-add, ssh-agent, ssh-keysign, \
ssh-keyscan, ssh-keygen and sftp-server.
"
HOMEPAGE="http://aria2.sourceforge.net"
LICENSE="GNU GPL v2"
COPYRIGHT="2005-2014 Tatu Ylonen et al."
SRC_URI="http://sourceforge.net/projects/aria2/files/stable/aria2-$portVersion/aria2-$portVersion.tar.xz"
CHECKSUM_SHA256="7944336efdfc82892802bec304698448e8d27b30f30496576716e8b93ebfff98"
REVISION="1"
PATCHES="aria2-$portVersion.patchset"
ARCHITECTURES="x86 x86_64"
if [ $effectiveTargetArchitecture != x86_gcc2 ]; then
# x86_gcc2 is fine as primary target architecture as long as we're building
# for a different secondary architecture.
ARCHITECTURES="$ARCHITECTURES x86_gcc2"
fi
SECONDARY_ARCHITECTURES="x86"
PROVIDES="
aria2$secondaryArchSuffix = $portVersion compat >= 1
cmd:aria2c
"
REQUIRES="
haiku$secondaryArchSuffix
lib:libiconv$secondaryArchSuffix
lib:libssl$secondaryArchSuffix
lib:libxml2$secondaryArchSuffix
lib:libz$secondaryArchSuffix
"
BUILD_REQUIRES="
devel:libiconv$secondaryArchSuffix
devel:libssl$secondaryArchSuffix
devel:libxml2$secondaryArchSuffix
devel:libz$secondaryArchSuffix
"
BUILD_PREREQUIRES="
haiku${secondaryArchSuffix}_devel
cmd:aclocal
cmd:autoconf
cmd:automake
cmd:gcc$secondaryArchSuffix
cmd:ld$secondaryArchSuffix
cmd:libtoolize
cmd:make
cmd:pkg_config$secondaryArchSuffix
cmd:gettext
cmd:find
"
BUILD()
{
autoreconf -fi
runConfigure ./configure
make $jobArgs
}
INSTALL()
{
make install
}
TEST()
{
make tests
}

View File

@@ -0,0 +1,23 @@
From f0479fa57a2ba0ceb85da78479c8262d100363d2 Mon Sep 17 00:00:00 2001
From: Jerome Duval <jerome.duval@gmail.com>
Date: Mon, 2 Feb 2015 20:42:42 +0000
Subject: haiku: detect libnetwork
diff --git a/configure.ac b/configure.ac
index 22181e4..a3eaf93 100644
--- a/configure.ac
+++ b/configure.ac
@@ -616,6 +616,9 @@ case "$host" in
*solaris*)
AC_SEARCH_LIBS([getaddrinfo], [nsl socket])
;;
+ *haiku*)
+ AC_SEARCH_LIBS([getaddrinfo], [network])
+ ;;
esac
# Checks for header files.
--
1.8.3.4