From 8e45246319d493bdf0c1eb4a6b69086c0bfa6689 Mon Sep 17 00:00:00 2001 From: Scott McCreary Date: Thu, 12 Sep 2013 23:28:57 -0700 Subject: [PATCH] Updated .recipe for gnupg so that it now builds. --- app-crypt/gnupg/gnupg-1.4.11.recipe | 49 +++++++++++++++++++++++------ 1 file changed, 40 insertions(+), 9 deletions(-) diff --git a/app-crypt/gnupg/gnupg-1.4.11.recipe b/app-crypt/gnupg/gnupg-1.4.11.recipe index 0f1c2ffd5..3847a7401 100644 --- a/app-crypt/gnupg/gnupg-1.4.11.recipe +++ b/app-crypt/gnupg/gnupg-1.4.11.recipe @@ -1,23 +1,54 @@ -DESCRIPTION="The GNU Privacy Guard, a GPL pgp replacement." +SUMMARY="GnuPG is the GNU project's free implementation of the OpenPGP standard." +DESCRIPTION="GnuPG is the GNU project's complete and free implementation of the OpenPGP standard as defined by RFC4880 . GnuPG allows to encrypt and sign your data and communication, features a versatile key management system as well as access modules for all kinds of public key directories. GnuPG, also known as GPG, is a command line tool with features for easy integration with other applications." HOMEPAGE="http://www.gnupg.org/" SRC_URI="ftp://ftp.gnupg.org/gcrypt/gnupg/gnupg-1.4.11.tar.bz2" CHECKSUM_MD5="411744e1ef8ce90b87938c4203f001f1" REVISION="1" -STATUS_HAIKU="stable" -DEPEND="" +LICENSE="GNU GPL v3" +COPYRIGHT="1998-2010 Free Software Foundation, Inc." + +ARCHITECTURES="x86 x86_gcc2" + +PROVIDES="gnupg = $portVersion + cmd:gpg = $portVersion compat >= 1.4 + cmd:gpg_zip = $portVersion compat >= 1.4 + cmd:gpgsplit = $portVersion compat >= 1.4 + cmd:gpgv = $portVersion compat >= 1.4 + " +REQUIRES=" + haiku >= $haikuVersion + lib:libz + " +BUILD_REQUIRES=" + " +BUILD_PREREQUIRES=" + haiku_devel >= $haikuVersion + cmd:autoconf + cmd:gcc + cmd:ld + cmd:libtoolize + cmd:make + " +PATCH() +{ +PATCHES="gnupg-1.4.11.patch" +} + BUILD() { - cd gnupg-1.4.11 libtoolize --force --copy --install autoconf - ./configure --prefix=`finddir B_COMMON_DIRECTORY` - make + runConfigure ./configure + make $jobArgs } INSTALL() { - cd gnupg-1.4.11 make install } -LICENSE="GNU GPL v3" -COPYRIGHT="1998-2010 Free Software Foundation, Inc." + +TEST() +{ + make check +} +