diff options
author | Vicente Olivert Riera <vincent@gentoo.org> | 2013-05-08 07:57:53 +0000 |
---|---|---|
committer | Vicente Olivert Riera <vincent@gentoo.org> | 2013-05-08 07:57:53 +0000 |
commit | 668a5e5f4539be90adbbe1b0fac2381a2e71b490 (patch) | |
tree | 8d1596cf630cf2337187e92e431b4ce60c96cb54 | |
parent | Format examples consistently. (diff) | |
download | gentoo-2-668a5e5f4539be90adbbe1b0fac2381a2e71b490.tar.gz gentoo-2-668a5e5f4539be90adbbe1b0fac2381a2e71b490.tar.bz2 gentoo-2-668a5e5f4539be90adbbe1b0fac2381a2e71b490.zip |
~ppc keyword and static-libs patch, bug #460772
(Portage version: 2.1.11.62/cvs/Linux x86_64, signed Manifest commit with key 5AE9E7B2E9BBCBA8)
-rw-r--r-- | net-libs/libircclient/ChangeLog | 8 | ||||
-rw-r--r-- | net-libs/libircclient/files/libircclient-1.6-static.patch | 10 | ||||
-rw-r--r-- | net-libs/libircclient/libircclient-1.6-r2.ebuild | 50 |
3 files changed, 67 insertions, 1 deletions
diff --git a/net-libs/libircclient/ChangeLog b/net-libs/libircclient/ChangeLog index d31c1e827589..6da642e1997e 100644 --- a/net-libs/libircclient/ChangeLog +++ b/net-libs/libircclient/ChangeLog @@ -1,6 +1,12 @@ # ChangeLog for net-libs/libircclient # Copyright 1999-2013 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/net-libs/libircclient/ChangeLog,v 1.13 2013/01/22 18:10:40 mr_bones_ Exp $ +# $Header: /var/cvsroot/gentoo-x86/net-libs/libircclient/ChangeLog,v 1.14 2013/05/08 07:57:53 vincent Exp $ + +*libircclient-1.6-r2 (08 May 2013) + + 08 May 2013; Vicente Olivert Riera <vincent@gentoo.org> + +files/libircclient-1.6-static.patch, +libircclient-1.6-r2.ebuild: + ~ppc keyword and static-libs patch, bug #460772 22 Jan 2013; Michael Sterrett <mr_bones_@gentoo.org> -libircclient-1.6.ebuild: old diff --git a/net-libs/libircclient/files/libircclient-1.6-static.patch b/net-libs/libircclient/files/libircclient-1.6-static.patch new file mode 100644 index 000000000000..e7b6016bc21f --- /dev/null +++ b/net-libs/libircclient/files/libircclient-1.6-static.patch @@ -0,0 +1,10 @@ +diff -ru libircclient-1.6.orig/src/Makefile.in libircclient-1.6/src/Makefile.in +--- libircclient-1.6.orig/src/Makefile.in 2013-03-08 14:34:56.583873379 +0100 ++++ libircclient-1.6/src/Makefile.in 2013-03-08 14:35:27.711873000 +0100 +@@ -1,4 +1,6 @@ + # $Id: libircclient-1.6-static.patch,v 1.1 2013/05/08 07:57:53 vincent Exp $ ++prefix = @prefix@ ++exec_prefix = @exec_prefix@ + CC = @CC@ + CFLAGS = -fPIC -Wall -DIN_BUILDING_LIBIRC @CFLAGS@ + AR=@AR@ cr diff --git a/net-libs/libircclient/libircclient-1.6-r2.ebuild b/net-libs/libircclient/libircclient-1.6-r2.ebuild new file mode 100644 index 000000000000..ffc847797c7e --- /dev/null +++ b/net-libs/libircclient/libircclient-1.6-r2.ebuild @@ -0,0 +1,50 @@ +# Copyright 1999-2013 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/net-libs/libircclient/libircclient-1.6-r2.ebuild,v 1.1 2013/05/08 07:57:53 vincent Exp $ + +EAPI=5 +inherit autotools eutils + +DESCRIPTION="Small but powerful library implementing the client-server IRC protocol" +HOMEPAGE="http://www.ulduzsoft.com/libircclient/" +SRC_URI="mirror://sourceforge/libircclient/${P}.tar.gz" + +LICENSE="LGPL-2" +SLOT="0" +KEYWORDS="~amd64 ~ppc ~x86" +IUSE="doc ipv6 ssl static-libs threads" + +DEPEND="ssl? ( dev-libs/openssl )" + +src_prepare() { + epatch \ + "${FILESDIR}"/${P}-build.patch \ + "${FILESDIR}"/${P}-shared.patch \ + "${FILESDIR}"/${P}-include.patch \ + "${FILESDIR}"/${P}-static.patch + eautoconf +} + +src_configure() { + econf \ + $(use_enable threads) \ + $(use_enable ipv6) \ + $(use_enable ssl openssl) \ + $(use_enable ssl threads) +} + +src_compile() { + emake -C src $(usex static-libs "shared static" "shared") +} + +src_install() { + emake -C src DESTDIR="${D}" $(usex static-libs "install" "install-shared") + insinto /usr/include/libircclient + doins include/*.h + + dodoc Changelog THANKS + if use doc ; then + doman doc/man/man3/* + dohtml doc/html/* + fi +} |