Updated .recipe for gnupg so that it now builds.

This commit is contained in:
Scott McCreary
2013-09-12 23:28:57 -07:00
parent 212b2eea7e
commit 8e45246319

View File

@@ -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
}