From 6d8821bd51f7a6f8e464291d9e96be3fe0c55046 Mon Sep 17 00:00:00 2001 From: Sergei Reznikov Date: Sun, 30 Aug 2015 12:41:01 +0300 Subject: [PATCH] libgsasl: add recipe for version 1.8.0 --- net-libs/libgsasl/libgsasl-1.8.0.recipe | 64 +++++++++++++++++++++++++ 1 file changed, 64 insertions(+) create mode 100644 net-libs/libgsasl/libgsasl-1.8.0.recipe diff --git a/net-libs/libgsasl/libgsasl-1.8.0.recipe b/net-libs/libgsasl/libgsasl-1.8.0.recipe new file mode 100644 index 000000000..33e7edde3 --- /dev/null +++ b/net-libs/libgsasl/libgsasl-1.8.0.recipe @@ -0,0 +1,64 @@ +SUMMARY="The GNU SASL library" +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="http://www.gnu.org/software/gsasl" +COPYRIGHT="2004-2012 Simon Josefsson" +LICENSE=" + GNU GPL v3 + GNU LGPL v3 + " +SOURCE_URI="ftp://ftp.gnu.org/gnu/gsasl/libgsasl-$portVersion.tar.gz" +CHECKSUM_SHA256="3adfb49f9c92a719dea855fd1840d698cde55d4648d332a69032ba8bea207720" +REVISION="1" +ARCHITECTURES="x86_gcc2 x86 x86_64" +SECONDARY_ARCHITECTURES="x86_gcc2 x86" + +PROVIDES=" + libgsasl$secondaryArchSuffix = $portVersion + lib:libgsasl$secondaryArchSuffix = $portVersion + " +REQUIRES=" + haiku$secondaryArchSuffix + " +BUILD_REQUIRES=" + haiku${secondaryArchSuffix}_devel + " +BUILD_PREREQUIRES=" + cmd:gcc$secondaryArchSuffix + cmd:ld$secondaryArchSuffix + cmd:libtoolize + cmd:make + " + +BUILD() +{ + runConfigure ./configure + make $jobArgs +} + +INSTALL() +{ + make install + + prepareInstalledDevelLibs libgsasl + fixPkgconfig + + # devel package + packageEntries devel \ + $developDir +} + +# ----- devel package ------------------------------------------------------- + +PROVIDES_devel=" + libgsasl${secondaryArchSuffix}_devel = $portVersion + devel:libgsasl$secondaryArchSuffix = $portVersion + " +REQUIRES_devel=" + libgsasl$secondaryArchSuffix == $portVersion base + "