summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJonathan Callen <abcd@gentoo.org>2010-02-21 04:24:52 +0000
committerJonathan Callen <abcd@gentoo.org>2010-02-21 04:24:52 +0000
commit97244a02857a70387f77def74d7322bafffbbcfa (patch)
treecbd6e7099a8cda1c8d5543dbfec696cac2646400 /media-gfx/tgif
parentBump EAPI, add prefix support & keywords (diff)
downloadgentoo-2-97244a02857a70387f77def74d7322bafffbbcfa.tar.gz
gentoo-2-97244a02857a70387f77def74d7322bafffbbcfa.tar.bz2
gentoo-2-97244a02857a70387f77def74d7322bafffbbcfa.zip
Bump EAPI, add prefix support & keywords
(Portage version: -svn/cvs/Linux i686)
Diffstat (limited to 'media-gfx/tgif')
-rw-r--r--media-gfx/tgif/ChangeLog7
-rw-r--r--media-gfx/tgif/tgif-4.1.45-r1.ebuild16
2 files changed, 13 insertions, 10 deletions
diff --git a/media-gfx/tgif/ChangeLog b/media-gfx/tgif/ChangeLog
index 98eee44b72ff..0cfff2a037f9 100644
--- a/media-gfx/tgif/ChangeLog
+++ b/media-gfx/tgif/ChangeLog
@@ -1,6 +1,9 @@
# ChangeLog for media-gfx/tgif
-# Copyright 1999-2009 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/media-gfx/tgif/ChangeLog,v 1.15 2009/11/10 04:21:42 abcd Exp $
+# Copyright 1999-2010 Gentoo Foundation; Distributed under the GPL v2
+# $Header: /var/cvsroot/gentoo-x86/media-gfx/tgif/ChangeLog,v 1.16 2010/02/21 04:24:52 abcd Exp $
+
+ 21 Feb 2010; Jonathan Callen <abcd@gentoo.org> tgif-4.1.45-r1.ebuild:
+ Bump EAPI, add prefix support & keywords
10 Nov 2009; Jonathan Callen <abcd@gentoo.org>
-files/tgif-4.1.45-kprinter.patch:
diff --git a/media-gfx/tgif/tgif-4.1.45-r1.ebuild b/media-gfx/tgif/tgif-4.1.45-r1.ebuild
index 7f5cf214f541..fe3b168854fa 100644
--- a/media-gfx/tgif/tgif-4.1.45-r1.ebuild
+++ b/media-gfx/tgif/tgif-4.1.45-r1.ebuild
@@ -1,6 +1,8 @@
-# Copyright 1999-2009 Gentoo Foundation
+# Copyright 1999-2010 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/media-gfx/tgif/tgif-4.1.45-r1.ebuild,v 1.2 2009/11/07 00:37:02 ssuominen Exp $
+# $Header: /var/cvsroot/gentoo-x86/media-gfx/tgif/tgif-4.1.45-r1.ebuild,v 1.3 2010/02/21 04:24:52 abcd Exp $
+
+EAPI=3
inherit eutils toolchain-funcs
@@ -12,7 +14,7 @@ SRC_URI="ftp://bourbon.usc.edu/pub/${PN}/${MY_P}.tar.gz"
LICENSE="QPL-1.0"
SLOT="0"
-KEYWORDS="~amd64 ~ppc ~x86"
+KEYWORDS="~amd64 ~ppc ~x86 ~amd64-linux ~x86-linux ~ppc-macos ~x86-macos"
IUSE=""
DEPEND="x11-libs/libX11
@@ -22,9 +24,7 @@ RDEPEND="${DEPEND}
S=${WORKDIR}/${MY_P}
-src_unpack() {
- unpack ${A}
- cd "${S}"
+src_prepare() {
epatch "${FILESDIR}/${P}-gentoo.patch"
epatch "${FILESDIR}/${P}-sym.patch"
sed -i \
@@ -36,12 +36,12 @@ src_unpack() {
src_compile() {
emake -f Makefile.noimake \
- CC=$(tc-getCC) CPPFLAGS="${CFLAGS}" \
+ CC=$(tc-getCC) CPPFLAGS="${CFLAGS}" TGIFDIR="${EPREFIX}/usr/bin/tgif" \
|| die "emake failed"
}
src_install() {
- emake -f Makefile.noimake CC=$(tc-getCC) DESTDIR="${D}" install \
+ emake -f Makefile.noimake CC=$(tc-getCC) DESTDIR="${ED}" install \
|| die "emake install failed"
## example-files