diff options
author | Michael Sterrett <mr_bones_@gentoo.org> | 2015-02-05 05:55:28 +0000 |
---|---|---|
committer | Michael Sterrett <mr_bones_@gentoo.org> | 2015-02-05 05:55:28 +0000 |
commit | 8f9b16f2884be951752ff9575651d5f74581f046 (patch) | |
tree | 9411d66ec10e18882b8ef3c57ec41f0d7d5ee18e /net-libs/libircclient | |
parent | fix date (diff) | |
download | gentoo-2-8f9b16f2884be951752ff9575651d5f74581f046.tar.gz gentoo-2-8f9b16f2884be951752ff9575651d5f74581f046.tar.bz2 gentoo-2-8f9b16f2884be951752ff9575651d5f74581f046.zip |
version bump
(Portage version: 2.2.14/cvs/Linux x86_64, unsigned Manifest commit)
Diffstat (limited to 'net-libs/libircclient')
-rw-r--r-- | net-libs/libircclient/ChangeLog | 12 | ||||
-rw-r--r-- | net-libs/libircclient/files/libircclient-1.8-build.patch | 13 | ||||
-rw-r--r-- | net-libs/libircclient/files/libircclient-1.8-include.patch | 10 | ||||
-rw-r--r-- | net-libs/libircclient/files/libircclient-1.8-shared.patch | 50 | ||||
-rw-r--r-- | net-libs/libircclient/files/libircclient-1.8-static.patch | 12 | ||||
-rw-r--r-- | net-libs/libircclient/libircclient-1.8.ebuild | 48 |
6 files changed, 143 insertions, 2 deletions
diff --git a/net-libs/libircclient/ChangeLog b/net-libs/libircclient/ChangeLog index ea1899ba7b8f..069a8ac19198 100644 --- a/net-libs/libircclient/ChangeLog +++ b/net-libs/libircclient/ChangeLog @@ -1,6 +1,14 @@ # ChangeLog for net-libs/libircclient -# Copyright 1999-2014 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/net-libs/libircclient/ChangeLog,v 1.20 2014/03/13 06:41:52 mr_bones_ Exp $ +# Copyright 1999-2015 Gentoo Foundation; Distributed under the GPL v2 +# $Header: /var/cvsroot/gentoo-x86/net-libs/libircclient/ChangeLog,v 1.21 2015/02/05 05:55:28 mr_bones_ Exp $ + +*libircclient-1.8 (05 Feb 2015) + + 05 Feb 2015; Michael Sterrett <mr_bones_@gentoo.org> + +files/libircclient-1.8-build.patch, +files/libircclient-1.8-include.patch, + +files/libircclient-1.8-shared.patch, +files/libircclient-1.8-static.patch, + +libircclient-1.8.ebuild: + version bump *libircclient-1.7 (13 Mar 2014) diff --git a/net-libs/libircclient/files/libircclient-1.8-build.patch b/net-libs/libircclient/files/libircclient-1.8-build.patch new file mode 100644 index 000000000000..86ea64efd55a --- /dev/null +++ b/net-libs/libircclient/files/libircclient-1.8-build.patch @@ -0,0 +1,13 @@ +--- libircclient-1.7.orig/configure.in ++++ libircclient-1.7/configure.in +@@ -61,9 +61,7 @@ + AC_CHECK_LIB(socket, socket, AC_DEFINE(HAVE_SOCKET) LIBS="$LIBS -lsocket") + + if test "$use_debug" = "yes"; then +- CFLAGS="${CFLAGS} -g -DENABLE_DEBUG" +-else +- CFLAGS="${CFLAGS} -O3" ++ CFLAGS="${CFLAGS} -DENABLE_DEBUG" + fi + + # Choosing the target diff --git a/net-libs/libircclient/files/libircclient-1.8-include.patch b/net-libs/libircclient/files/libircclient-1.8-include.patch new file mode 100644 index 000000000000..c5bce1dfd947 --- /dev/null +++ b/net-libs/libircclient/files/libircclient-1.8-include.patch @@ -0,0 +1,10 @@ +--- libircclient-1.6.orig/include/libircclient.h ++++ libircclient-1.6/include/libircclient.h +@@ -130,6 +130,7 @@ + #define IN_INCLUDE_LIBIRC_H + #include "libirc_errors.h" + #include "libirc_events.h" ++#include "libirc_rfcnumeric.h" + #include "libirc_options.h" + #undef IN_INCLUDE_LIBIRC_H + diff --git a/net-libs/libircclient/files/libircclient-1.8-shared.patch b/net-libs/libircclient/files/libircclient-1.8-shared.patch new file mode 100644 index 000000000000..c6cf1969b37a --- /dev/null +++ b/net-libs/libircclient/files/libircclient-1.8-shared.patch @@ -0,0 +1,50 @@ +--- libircclient-1.7.orig/src/Makefile.in ++++ libircclient-1.7/src/Makefile.in +@@ -1,8 +1,10 @@ + # $Id: libircclient-1.8-shared.patch,v 1.1 2015/02/05 05:55:28 mr_bones_ Exp $ + CC = @CC@ +-CFLAGS = -Wall -DIN_BUILDING_LIBIRC @CFLAGS@ ++CFLAGS = -fPIC -Wall -DIN_BUILDING_LIBIRC @CFLAGS@ + AR=@AR@ cr + RANLIB=@RANLIB@ ++INSTALL=install ++LN=ln -sf + INCLUDES=-I../include + DESTDIR= + APIVERSION = 1 +@@ -15,19 +17,24 @@ + shared: libircclient.so + shared_mingw: libircclient.dll + +-install: +- -mkdir -p $(DESTDIR)@prefix@/include +- -mkdir -p $(DESTDIR)@libdir@ +- cp ../include/libircclient.h $(DESTDIR)@prefix@/include/libircclient.h +- cp ../include/libirc_errors.h $(DESTDIR)@prefix@/include/libirc_errors.h +- cp ../include/libirc_events.h $(DESTDIR)@prefix@/include/libirc_events.h +- cp ../include/libirc_options.h $(DESTDIR)@prefix@/include/libirc_options.h +- cp ../include/libirc_rfcnumeric.h $(DESTDIR)@prefix@/include/libirc_rfcnumeric.h +- cp libircclient.so $(DESTDIR)@libdir@/libircclient.so.$(APIVERSION) +- ln -fs libircclient.so.$(APIVERSION) $(DESTDIR)@libdir@/libircclient.so ++install: install-headers install-static install-shared ++install-headers: ++ $(INSTALL) -d $(DESTDIR)@prefix@/include ++ $(INSTALL) -m0644 ../include/libircclient.h $(DESTDIR)@prefix@/include/libircclient.h ++ $(INSTALL) -m0644 ../include/libirc_errors.h $(DESTDIR)@prefix@/include/libirc_errors.h ++ $(INSTALL) -m0644 ../include/libirc_events.h $(DESTDIR)@prefix@/include/libirc_events.h ++ $(INSTALL) -m0644 ../include/libirc_options.h $(DESTDIR)@prefix@/include/libirc_options.h ++ $(INSTALL) -m0644 ../include/libirc_rfcnumeric.h $(DESTDIR)@prefix@/include/libirc_rfcnumeric.h ++install-shared: ++ $(INSTALL) -d $(DESTDIR)@libdir@ ++ $(INSTALL) -m0755 libircclient.so $(DESTDIR)@libdir@/libircclient.so.$(APIVERSION) ++ $(LN) libircclient.so.$(APIVERSION) $(DESTDIR)@libdir@/libircclient.so ++install-static: ++ $(INSTALL) -d $(DESTDIR)@libdir@ ++ $(INSTALL) -m0644 libircclient.a $(DESTDIR)@libdir@/libircclient.a + + libircclient.so: libircclient.o +- $(CC) -shared -s -Wl,-soname,libircclient.so.$(APIVERSION) -o libircclient.so libircclient.o @LIBS@ ++ $(CC) $(CFLAGS) -shared -Wl,-soname,libircclient.so.$(APIVERSION) -o libircclient.so libircclient.o $(LDFLAGS) @LIBS@ + + libircclient.dll: libircclient.o + $(CC) -shared -s -o libircclient.dll -Wl,-out-implib,libircclient.lib libircclient.o libircclient.def -lkernel32 -lwsock32 @LIBS@ diff --git a/net-libs/libircclient/files/libircclient-1.8-static.patch b/net-libs/libircclient/files/libircclient-1.8-static.patch new file mode 100644 index 000000000000..b820a19c73d1 --- /dev/null +++ b/net-libs/libircclient/files/libircclient-1.8-static.patch @@ -0,0 +1,12 @@ +--- libircclient-1.7.orig/src/Makefile.in ++++ libircclient-1.7/src/Makefile.in +@@ -9,6 +9,9 @@ + DESTDIR= + APIVERSION = 1 + ++prefix=@prefix@ ++exec_prefix=@exec_prefix@ ++ + OBJS = libircclient.o + + all: @TARGET@ diff --git a/net-libs/libircclient/libircclient-1.8.ebuild b/net-libs/libircclient/libircclient-1.8.ebuild new file mode 100644 index 000000000000..bf3445266331 --- /dev/null +++ b/net-libs/libircclient/libircclient-1.8.ebuild @@ -0,0 +1,48 @@ +# Copyright 1999-2015 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/net-libs/libircclient/libircclient-1.8.ebuild,v 1.1 2015/02/05 05:55:28 mr_bones_ 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}-static.patch \ + "${FILESDIR}"/${P}-include.patch + mv configure.in configure.ac || die + 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}" install-shared $(usex static-libs "install-static" "") + insinto /usr/include/libircclient + doins include/*.h + + dodoc Changelog THANKS + doman man/libircclient.1 +} |