From 8152dea6542d75b971b87307c9f4a3dc6dd0c43f Mon Sep 17 00:00:00 2001 From: Jeroen Roovers Date: Tue, 18 Oct 2011 20:24:00 +0000 Subject: [PATCH] Remove .la file when USE=-static-libs by Hans (bug #386929). Package-Manager: portage-2.2.0_alpha69/cvs/Linux x86_64 --- net-dns/libidn/ChangeLog | 7 ++- net-dns/libidn/Manifest | 15 +++-- net-dns/libidn/libidn-1.22-r1.ebuild | 91 ++++++++++++++++++++++++++++ 3 files changed, 104 insertions(+), 9 deletions(-) create mode 100644 net-dns/libidn/libidn-1.22-r1.ebuild diff --git a/net-dns/libidn/ChangeLog b/net-dns/libidn/ChangeLog index 6b73c9f2a873..4dabea29b197 100644 --- a/net-dns/libidn/ChangeLog +++ b/net-dns/libidn/ChangeLog @@ -1,6 +1,11 @@ # ChangeLog for net-dns/libidn # Copyright 1999-2011 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/net-dns/libidn/ChangeLog,v 1.145 2011/08/01 20:58:28 jer Exp $ +# $Header: /var/cvsroot/gentoo-x86/net-dns/libidn/ChangeLog,v 1.146 2011/10/18 20:24:00 jer Exp $ + +*libidn-1.22-r1 (18 Oct 2011) + + 18 Oct 2011; Jeroen Roovers +libidn-1.22-r1.ebuild: + Remove .la file when USE=-static-libs by Hans (bug #386929). 01 Aug 2011; Jeroen Roovers -libidn-1.19.ebuild, -libidn-1.20.ebuild, -libidn-1.21.ebuild: diff --git a/net-dns/libidn/Manifest b/net-dns/libidn/Manifest index f98ad7fefb90..131f2c080894 100644 --- a/net-dns/libidn/Manifest +++ b/net-dns/libidn/Manifest @@ -1,17 +1,16 @@ -----BEGIN PGP SIGNED MESSAGE----- -Hash: SHA256 +Hash: SHA1 AUX 50libidn-gentoo.el 455 RMD160 68a84a8b9aa9ff2b7c6e6b266e2545d2bbb243f2 SHA1 6c986493a8790b67d47444d64ec56b867f644513 SHA256 b8b5a7df3ef312b47ef44d7b5c9180e06e9d8b9cbe43fa67b8511296381ff937 DIST libidn-1.22.tar.gz 3356444 RMD160 46773bd6192faaeef52c88b6aa8d2e3242f2cdd8 SHA1 8358e897c24d534438f6b5694c25e85889d860c3 SHA256 2f765e868795f5478900ec9f42cb0ecc6ca22e2a85a62763c0b13c7da2f588ed +EBUILD libidn-1.22-r1.ebuild 2087 RMD160 d6c409e6ac4ddd374e9ec63328b78a38998155a4 SHA1 b86c18cd43cd5004c24391f34aa733331af12c8d SHA256 9144ecabddd066b87e7c0c096e33f2aa7549f977794643c6971cd29d742fe4ff EBUILD libidn-1.22.ebuild 2059 RMD160 d96e1513ba032a8982bc328d40ee6465180f014f SHA1 c96e9310e1dc28bce57c3c0565d93303e37d331a SHA256 dbd9712e05ea407e74fbfddeca07f4cd281394317a81f0ae18d0d09998953d53 -MISC ChangeLog 17634 RMD160 0bdad9afee4003a57ad543f94e439a69f0921a9a SHA1 7c9939301c64907afbdd3e0a9e1067c2ed797e4a SHA256 bcb5e1f4f2ecfcb668c9bb0b48cc2d165e419d059d4a958fe58ba0d279682433 +MISC ChangeLog 17800 RMD160 423364a3d04e4d481537c0b7334cf4a428c78d55 SHA1 306b1370062d6a21054767de2b53c3d18270d142 SHA256 69ff8c6e63cea92c8a83cf23c29d6b2498c491a0f76690cbf8c30f431b56c056 MISC metadata.xml 230 RMD160 f4eaafe69d80938604be6213ca2529b73ced7a53 SHA1 27d0d9e737236700ad6d266c9a2fc8869f427869 SHA256 529c3320b250d179bb9e9ae651a88ba3f2a1bca78cd1ab07d5aef28d571960ce -----BEGIN PGP SIGNATURE----- -Version: GnuPG v2.0.18 (GNU/Linux) +Version: GnuPG v2.0.17 (GNU/Linux) -iJwEAQEIAAYFAk59qNoACgkQfXuS5UK5QB2PqAP/Qninm5lGQnKsVFHzYYZ9KESU -IT9XJh8caqLINYqmr+rP4kFP1JoYC7q78F2bPmphb91Hh0XUzvK311VkKctUvlYz -iVcCg6lGgf9T+m6ambeJoLY5pPACpcCmmseeW5qO1xp8i1Zgct8Le97cQtoO+J95 -XLgn4FofAzdH1Um1gP8= -=DUDL +iEYEARECAAYFAk6d4GYACgkQVWmRsqeSphPXmQCeLcvuCsp/dcmzcRJFU4V5loMS +AmAAnR4+32/W0l5SnF26/6PtIM/qfKdO +=yG3o -----END PGP SIGNATURE----- diff --git a/net-dns/libidn/libidn-1.22-r1.ebuild b/net-dns/libidn/libidn-1.22-r1.ebuild new file mode 100644 index 000000000000..a06fb891a93f --- /dev/null +++ b/net-dns/libidn/libidn-1.22-r1.ebuild @@ -0,0 +1,91 @@ +# Copyright 1999-2011 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/net-dns/libidn/libidn-1.22-r1.ebuild,v 1.1 2011/10/18 20:24:00 jer Exp $ + +EAPI="4" + +inherit autotools-utils java-pkg-opt-2 mono elisp-common + +DESCRIPTION="Internationalized Domain Names (IDN) implementation" +HOMEPAGE="http://www.gnu.org/software/libidn/" +SRC_URI="mirror://gnu/libidn/${P}.tar.gz" + +LICENSE="LGPL-2.1 GPL-3" +SLOT="0" +KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~m68k ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86 ~sparc-fbsd ~x86-fbsd" +IUSE="doc emacs java mono nls static-libs" + +COMMON_DEPEND="emacs? ( virtual/emacs ) + mono? ( >=dev-lang/mono-0.95 )" +DEPEND="${COMMON_DEPEND} + nls? ( >=sys-devel/gettext-0.17 ) + java? ( + >=virtual/jdk-1.4 + doc? ( dev-java/gjdoc ) + )" +RDEPEND="${COMMON_DEPEND} + nls? ( virtual/libintl ) + java? ( >=virtual/jre-1.4 )" + +SITEFILE=50${PN}-gentoo.el + +src_prepare() { + # bundled, with wrong bytecode + rm "${S}/java/${P}.jar" || die +} + +src_configure() { + econf \ + $(use_enable nls) \ + $(use_enable java) \ + $(use_enable mono csharp mono) \ + $(use_enable static-libs static) \ + --disable-valgrind-tests \ + --with-lispdir="${SITELISP}/${PN}" \ + --with-packager="Gentoo" \ + --with-packager-version="r${PR}" \ + --with-packager-bug-reports="https://bugs.gentoo.org" +} + +src_compile() { + default + + if use emacs; then + elisp-compile src/*.el || die + fi +} + +src_install() { + default + dodoc AUTHORS ChangeLog FAQ NEWS README THANKS TODO + + if use emacs; then + # *.el are installed by the build system + elisp-install ${PN} src/*.elc || die + elisp-site-file-install "${FILESDIR}/${SITEFILE}" || die + else + rm -rf "${D}/usr/share/emacs" + fi + + if use doc ; then + dohtml -r doc/reference/html/* + fi + + if use java ; then + java-pkg_newjar java/${P}.jar ${PN}.jar || die + rm -rf "${D}"/usr/share/java || die + + if use doc ; then + java-pkg_dojavadoc doc/java + fi + fi + use static-libs || remove_libtool_files +} + +pkg_postinst() { + use emacs && elisp-site-regen +} + +pkg_postrm() { + use emacs && elisp-site-regen +} -- 2.26.2