summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'media-libs/libclthreads')
-rw-r--r--media-libs/libclthreads/libclthreads-1.0.2.ebuild22
1 files changed, 10 insertions, 12 deletions
diff --git a/media-libs/libclthreads/libclthreads-1.0.2.ebuild b/media-libs/libclthreads/libclthreads-1.0.2.ebuild
index 78c6cb46ccff..587b8c5c4b00 100644
--- a/media-libs/libclthreads/libclthreads-1.0.2.ebuild
+++ b/media-libs/libclthreads/libclthreads-1.0.2.ebuild
@@ -1,14 +1,11 @@
-# Copyright 1999-2006 Gentoo Foundation
+# Copyright 1999-2009 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/media-libs/libclthreads/libclthreads-1.0.2.ebuild,v 1.4 2006/03/06 14:41:16 flameeyes Exp $
-
-IUSE=""
+# $Header: /var/cvsroot/gentoo-x86/media-libs/libclthreads/libclthreads-1.0.2.ebuild,v 1.5 2009/08/21 19:45:54 ssuominen Exp $
+EAPI=2
inherit eutils multilib toolchain-funcs
-MY_P="clthreads-${PV}"
-
-S="${WORKDIR}/${MY_P}"
+MY_P=clthreads-${PV}
DESCRIPTION="An audio library by Fons Adriaensen <fons.adriaensen@skynet.be>"
HOMEPAGE="http://users.skynet.be/solaris/linuxaudio"
@@ -17,11 +14,12 @@ SRC_URI="http://users.skynet.be/solaris/linuxaudio/downloads/${MY_P}.tar.bz2"
LICENSE="GPL-2"
SLOT="0"
KEYWORDS="amd64 ~ppc sparc x86"
+IUSE=""
+
+S=${WORKDIR}/${MY_P}
-src_unpack() {
- unpack ${A}
- cd ${S}
- epatch "${FILESDIR}/${P}-makefile.patch"
+src_prepare() {
+ epatch "${FILESDIR}"/${P}-makefile.patch
}
src_compile() {
@@ -30,5 +28,5 @@ src_compile() {
}
src_install() {
- make CLTHREADS_LIBDIR="/usr/$(get_libdir)" DESTDIR="${D}" install || die "make install failed"
+ emake CLTHREADS_LIBDIR="/usr/$(get_libdir)" DESTDIR="${D}" install || die "emake install failed"
}