summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAlexis Ballier <aballier@gentoo.org>2007-04-19 20:46:24 +0000
committerAlexis Ballier <aballier@gentoo.org>2007-04-19 20:46:24 +0000
commit86f70c70e8794cfd68aa32cccfad914d273c6a4d (patch)
tree7f412631daa452370496ffa754f7bcd00f1ff281 /media-libs/libclthreads
parentnet-libs/libpcap: Add cross compile test for bug #172210 (diff)
downloadgentoo-2-86f70c70e8794cfd68aa32cccfad914d273c6a4d.tar.gz
gentoo-2-86f70c70e8794cfd68aa32cccfad914d273c6a4d.tar.bz2
gentoo-2-86f70c70e8794cfd68aa32cccfad914d273c6a4d.zip
Version bump, thanks to Mike Mattie and ron widler, bug #156914
(Portage version: 2.1.2.4)
Diffstat (limited to 'media-libs/libclthreads')
-rw-r--r--media-libs/libclthreads/ChangeLog8
-rw-r--r--media-libs/libclthreads/files/digest-libclthreads-2.2.13
-rw-r--r--media-libs/libclthreads/files/libclthreads-2.2.1-Makefile.patch39
-rw-r--r--media-libs/libclthreads/libclthreads-2.2.1.ebuild34
4 files changed, 83 insertions, 1 deletions
diff --git a/media-libs/libclthreads/ChangeLog b/media-libs/libclthreads/ChangeLog
index 77b596a96996..9cf066b10985 100644
--- a/media-libs/libclthreads/ChangeLog
+++ b/media-libs/libclthreads/ChangeLog
@@ -1,6 +1,12 @@
# ChangeLog for media-libs/libclthreads
# Copyright 1999-2007 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/media-libs/libclthreads/ChangeLog,v 1.9 2007/02/22 01:51:48 peper Exp $
+# $Header: /var/cvsroot/gentoo-x86/media-libs/libclthreads/ChangeLog,v 1.10 2007/04/19 20:46:24 aballier Exp $
+
+*libclthreads-2.2.1 (19 Apr 2007)
+
+ 19 Apr 2007; Alexis Ballier <aballier@gentoo.org>
+ +files/libclthreads-2.2.1-Makefile.patch, +libclthreads-2.2.1.ebuild:
+ Version bump, thanks to Mike Mattie and ron widler, bug #156914
22 Feb 2007; Piotr Jaroszyński <peper@gentoo.org> ChangeLog:
Transition to Manifest2.
diff --git a/media-libs/libclthreads/files/digest-libclthreads-2.2.1 b/media-libs/libclthreads/files/digest-libclthreads-2.2.1
new file mode 100644
index 000000000000..bb4567543c69
--- /dev/null
+++ b/media-libs/libclthreads/files/digest-libclthreads-2.2.1
@@ -0,0 +1,3 @@
+MD5 936dcf735c6fd9f224413c402b6cdf37 clthreads-2.2.1.tar.bz2 5968
+RMD160 f13167fc0181466596d243e833497c16f66963f8 clthreads-2.2.1.tar.bz2 5968
+SHA256 dc29cff17bb4909a11646dc43fa6bebd90c0c64956d924b360ff46896313725e clthreads-2.2.1.tar.bz2 5968
diff --git a/media-libs/libclthreads/files/libclthreads-2.2.1-Makefile.patch b/media-libs/libclthreads/files/libclthreads-2.2.1-Makefile.patch
new file mode 100644
index 000000000000..6303edaeab9a
--- /dev/null
+++ b/media-libs/libclthreads/files/libclthreads-2.2.1-Makefile.patch
@@ -0,0 +1,39 @@
+--- Makefile.orig 2006-11-23 10:01:20.000000000 -0800
++++ Makefile 2007-01-05 06:15:50.000000000 -0800
+@@ -28,7 +28,7 @@
+ DISTDIR = clthreads-$(VERSION)
+
+
+-CPPFLAGS += -Wall -I. -fpic -D_REENTRANT -D_POSIX_PTHREAD_SEMANTICS -O2
++CPPFLAGS += -Wall -I. -fpic -D_REENTRANT -D_POSIX_PTHREAD_SEMANTICS
+ LDLFAGS +=
+ LDLIBS +=
+
+@@ -36,22 +36,19 @@
+ CLTHREADS_SO = libclthreads.so
+ CLTHREADS_MAJ = $(CLTHREADS_SO).$(MAJVERS)
+ CLTHREADS_MIN = $(CLTHREADS_MAJ).$(MINVERS)
+-CLTHREADS_DEP = -lpthread
++CLTHREADS_DEP = -lpthread -lrt
+ CLTHREADS_O = p_thread.o a_thread.o itc_mesg.o itc_ip1q.o itc_ctrl.o textmsg.o
+ CLTHREADS_H = clthreads.h
+
+
+ $(CLTHREADS_MIN): $(CLTHREADS_O)
+- g++ -shared $(LDFLAGS) -Wl,-soname,$(CLTHREADS_MAJ) -o $(CLTHREADS_MIN) $(CLTHREADS_O) $(CLTHREADS_DEP)
++ $(CXX) -shared $(LDFLAGS) -Wl,-soname,$(CLTHREADS_MAJ) -o $(CLTHREADS_MIN) $(CLTHREADS_O) $(CLTHREADS_DEP)
+
+
+ install: $(CLTHREADS_MIN)
+- /usr/bin/install -d $(PREFIX)/$(LIBDIR)
+- /usr/bin/install -m 644 $(CLTHREADS_H) $(PREFIX)/include
+- /usr/bin/install -m 755 $(CLTHREADS_MIN) $(PREFIX)/$(LIBDIR)
+- /sbin/ldconfig -n $(PREFIX)/$(LIBDIR)
+- ln -sf $(CLTHREADS_MIN) $(PREFIX)/$(LIBDIR)/$(CLTHREADS_SO)
+-
++ /usr/bin/install -D $(CLTHREADS_H) $(DESTDIR)usr/include/$(CLTHREADS_H)
++ /usr/bin/install -D $(CLTHREADS_MIN) $(DESTDIR)$(CLTHREADS_LIBDIR)/$(CLTHREADS_MIN)
++ ln -sf $(CLTHREADS_MIN) $(DESTDIR)$(CLTHREADS_LIBDIR)/$(CLTHREADS_SO)
+
+ clean:
+ /bin/rm -f *~ *.o *.a *.d *.so.*
diff --git a/media-libs/libclthreads/libclthreads-2.2.1.ebuild b/media-libs/libclthreads/libclthreads-2.2.1.ebuild
new file mode 100644
index 000000000000..4d44ee01c040
--- /dev/null
+++ b/media-libs/libclthreads/libclthreads-2.2.1.ebuild
@@ -0,0 +1,34 @@
+# Copyright 1999-2007 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/media-libs/libclthreads/libclthreads-2.2.1.ebuild,v 1.1 2007/04/19 20:46:24 aballier Exp $
+
+inherit eutils multilib toolchain-funcs
+
+MY_P="${P/lib/}"
+
+S="${WORKDIR}/${MY_P}"
+
+DESCRIPTION="An audio library by Fons Adriaensen <fons.adriaensen@skynet.be>"
+HOMEPAGE="http://www.kokkinizita.net/linuxaudio/"
+SRC_URI="http://www.kokkinizita.net/linuxaudio/downloads/${MY_P}.tar.bz2"
+
+LICENSE="LGPL-2"
+SLOT="0"
+KEYWORDS="~amd64 ~ppc ~sparc ~x86"
+IUSE=""
+
+src_unpack() {
+ unpack ${A}
+ cd "${S}"
+ epatch "${FILESDIR}/${P}-Makefile.patch"
+}
+
+src_compile() {
+ tc-export CC CXX
+ emake || die "emake failed"
+}
+
+src_install() {
+ emake CLTHREADS_LIBDIR="/usr/$(get_libdir)" DESTDIR="${D}" install || die "make install failed"
+ dodoc AUTHORS
+}