diff options
author | Alon Bar-Lev <alonbl@gentoo.org> | 2008-01-15 18:34:09 +0000 |
---|---|---|
committer | Alon Bar-Lev <alonbl@gentoo.org> | 2008-01-15 18:34:09 +0000 |
commit | c449ebe9a1935b8e3d5e10d7b259300bf3a50a20 (patch) | |
tree | fc888120f2126e72f31b18c9f72c27131515ce08 /app-crypt/gpgme | |
parent | Dropped ppc-macos keyword, see you in prefix (diff) | |
download | gentoo-2-c449ebe9a1935b8e3d5e10d7b259300bf3a50a20.tar.gz gentoo-2-c449ebe9a1935b8e3d5e10d7b259300bf3a50a20.tar.bz2 gentoo-2-c449ebe9a1935b8e3d5e10d7b259300bf3a50a20.zip |
Fix some autotools warnings
(Portage version: 2.1.4, RepoMan options: --force)
Diffstat (limited to 'app-crypt/gpgme')
-rw-r--r-- | app-crypt/gpgme/ChangeLog | 7 | ||||
-rw-r--r-- | app-crypt/gpgme/files/digest-gpgme-0.3.14-r2 | 3 | ||||
-rw-r--r-- | app-crypt/gpgme/gpgme-0.3.14-r2.ebuild | 88 |
3 files changed, 97 insertions, 1 deletions
diff --git a/app-crypt/gpgme/ChangeLog b/app-crypt/gpgme/ChangeLog index 469dd03758be..8c47f5b5c9cf 100644 --- a/app-crypt/gpgme/ChangeLog +++ b/app-crypt/gpgme/ChangeLog @@ -1,6 +1,11 @@ # ChangeLog for app-crypt/gpgme # Copyright 2002-2008 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/app-crypt/gpgme/ChangeLog,v 1.129 2008/01/15 18:26:02 alonbl Exp $ +# $Header: /var/cvsroot/gentoo-x86/app-crypt/gpgme/ChangeLog,v 1.130 2008/01/15 18:34:08 alonbl Exp $ + +*gpgme-0.3.14-r2 (15 Jan 2008) + + 15 Jan 2008; Alon Bar-Lev <alonbl@gentoo.org> +gpgme-0.3.14-r2.ebuild: + Fix some autotools warnings *gpgme-1.1.6 (15 Jan 2008) diff --git a/app-crypt/gpgme/files/digest-gpgme-0.3.14-r2 b/app-crypt/gpgme/files/digest-gpgme-0.3.14-r2 new file mode 100644 index 000000000000..a217af2d9d97 --- /dev/null +++ b/app-crypt/gpgme/files/digest-gpgme-0.3.14-r2 @@ -0,0 +1,3 @@ +MD5 b5351e212aa10336e5d88ebf4babccf7 gpgme-0.3.14.tar.gz 655474 +RMD160 96d1db35441611d0ddc3e2e8824e2b1d673b9837 gpgme-0.3.14.tar.gz 655474 +SHA256 4e822b5bb4f8d3269ab9d205e714ed9463b951c77e8ac0ffc0cf8ba7667bdc88 gpgme-0.3.14.tar.gz 655474 diff --git a/app-crypt/gpgme/gpgme-0.3.14-r2.ebuild b/app-crypt/gpgme/gpgme-0.3.14-r2.ebuild new file mode 100644 index 000000000000..5f58a6263bd1 --- /dev/null +++ b/app-crypt/gpgme/gpgme-0.3.14-r2.ebuild @@ -0,0 +1,88 @@ +# Copyright 1999-2008 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/app-crypt/gpgme/gpgme-0.3.14-r2.ebuild,v 1.1 2008/01/15 18:34:08 alonbl Exp $ + +# +# NOTE: This revision is used by direct dependency. DO NOT REMOVE! +# + +WANT_AUTOMAKE="1.6" + +inherit eutils autotools + +DESCRIPTION="GnuPG Made Easy (GPGME) is a library designed to make access to GnuPG easier for applications." +HOMEPAGE="http://www.gnupg.org/related_software/gpgme" +SRC_URI="mirror://gnupg/gpgme/${P}.tar.gz" + +LICENSE="GPL-2" +SLOT="0.3" +KEYWORDS="~alpha ~amd64 ~hppa ~ia64 ~ppc ~ppc64 ~sparc ~x86" +IUSE="doc" + +DEPEND=">=app-crypt/gnupg-1.2.0" + +src_unpack() { + unpack ${A} + cd "${S}" + epatch "${FILESDIR}"/gpgme3.m4.patch + find . -name Makefile -o -name Makefile.in -exec rm {} \; + rm doc/gpgme.info-? + + sed -i -e 's:libgpgme:libgpgme3:g' \ + `find . -name Makefile.am` doc/gpgme.info + + sed -i -e 's:gpgme-config:gpgme3-config:g' \ + configure.ac gpgme/Makefile.am doc/gpgme.texi \ + gpgme/gpgme-config.in + + sed -i -e 's:gpgme\.info:gpgme3.info:g' \ + -e 's:gpgme\.texi:gpgme3\.texi:g' \ + doc/Makefile.am doc/gpgme.info + + sed -i -e 's:-lgpgme:-lgpgme3:g' \ + gpgme/gpgme-config.in \ + doc/gpgme.texi configure.ac + + sed -i -e 's:gpgme\.m4:gpgme3.m4:g' \ + gpgme/Makefile.am configure.ac doc/gpgme.texi \ + gpgme/mkerrors \ + `find . -name \*.c -o -name \*.h` + + sed -i -e 's:gpgme\.info:gpgme3.info:' doc/gpgme.texi + + mv doc/gpgme{,3}.texi + mv gpgme/gpgme{,3}-config.in + mv gpgme/gpgme{,3}.m4 + # mv gpgme/gpgme{,3}.h + eautoreconf +} + +src_compile() { + local myconf + + use doc \ + && myconf="${myconf} --enable-maintainer-mode" + + if [ -x ""/usr/bin/gpg2 ]; then + myconf="${myconf} --with-gpg=/usr/bin/gpg2" + else + myconf="${myconf} --with-gpg=/usr/bin/gpg" + fi + + # For gnugpg-1.9+ + # $(use_with smime gpgsm /usr/bin/gpgsm) + # + + econf \ + --enable-gpgmeplug \ + --includedir=/usr/include/gpgme3 \ + ${myconf} \ + || die "econf failed" + + emake || die "make failed" +} + +src_install() { + make DESTDIR="${D}" install || die + dodoc AUTHORS ChangeLog INSTALL NEWS README README-alpha THANKS TODO VERSION +} |