0
0
Fork 0
haikuports/net-misc/gsasl/gsasl-1.8.0.recipe

72 lines
1.4 KiB
Bash

SUMMARY="The GNU SASL tool"
DESCRIPTION="GNU SASL is an implementation of the Simple Authentication and \
Security Layer framework and a few common SASL mechanisms. SASL is used by \
network servers (e.g., IMAP, SMTP) to request authentication from clients, and \
in clients to authenticate against servers.
Supported mechanisms are ANONYMOUS, EXTERNAL, LOGIN, PLAIN, SECURID, NTLM, \
DIGEST-MD5, CRAM-MD5, SCRAM-SHA-1, SCRAM-SHA-1-PLUS, GS2-KRB5, GSSAPI."
HOMEPAGE="https://www.gnu.org/software/gsasl/"
COPYRIGHT="2004-2012 Simon Josefsson"
LICENSE="GNU GPL v3
GNU LGPL v3"
REVISION="1"
SOURCE_URI="https://ftp.gnu.org/gnu/gsasl/gsasl-$portVersion.tar.gz"
CHECKSUM_SHA256="310262d1ded082d1ceefc52d6dad265c1decae8d84e12b5947d9b1dd193191e5"
PATCHES="gsasl-$portVersion.patchset"
ARCHITECTURES="all"
PROVIDES="
gsasl = $portVersion
cmd:gsasl = $portVersion
"
REQUIRES="
haiku
lib:libgnutls
lib:libgsasl
lib:libiconv
lib:libintl
"
BUILD_REQUIRES="
haiku_devel
devel:libgnutls
devel:libgsasl
devel:libiconv
devel:libintl
"
BUILD_PREREQUIRES="
cmd:aclocal
cmd:autoconf
cmd:autoheader
cmd:automake
# cmd:dia
cmd:gcc
cmd:ld
cmd:libtoolize
cmd:make
"
defineDebugInfoPackage gsasl \
$binDir/gsasl
BUILD()
{
runConfigure ./configure
# ignore lack of dia
make -i $jobArgs
}
INSTALL()
{
# ignore lack of dia
make -i install
rm -rf $libDir
rm -rf $includeDir
rm -rf $manDir/man3
rm -rf $infoDir
}