summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSamuli Suominen <ssuominen@gentoo.org>2009-08-21 20:13:30 +0000
committerSamuli Suominen <ssuominen@gentoo.org>2009-08-21 20:13:30 +0000
commitc88f1a09c9f5b6c4b45efb0677e20d0d7eca9b0b (patch)
treeb4365dbb359a8943d5f28641a34df5e5eadc6b84 /media-libs/SoGtk
parenttypo (diff)
downloadgentoo-2-c88f1a09c9f5b6c4b45efb0677e20d0d7eca9b0b.tar.gz
gentoo-2-c88f1a09c9f5b6c4b45efb0677e20d0d7eca9b0b.tar.bz2
gentoo-2-c88f1a09c9f5b6c4b45efb0677e20d0d7eca9b0b.zip
repoman warnings
(Portage version: 2.2_rc38/cvs/Linux x86_64)
Diffstat (limited to 'media-libs/SoGtk')
-rw-r--r--media-libs/SoGtk/SoGtk-20010601-r1.ebuild32
1 files changed, 14 insertions, 18 deletions
diff --git a/media-libs/SoGtk/SoGtk-20010601-r1.ebuild b/media-libs/SoGtk/SoGtk-20010601-r1.ebuild
index 6a721ebeb2b6..bc6b103ff67f 100644
--- a/media-libs/SoGtk/SoGtk-20010601-r1.ebuild
+++ b/media-libs/SoGtk/SoGtk-20010601-r1.ebuild
@@ -1,34 +1,33 @@
-# Copyright 1999-2008 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/SoGtk/SoGtk-20010601-r1.ebuild,v 1.22 2008/06/04 17:24:30 flameeyes Exp $
+# $Header: /var/cvsroot/gentoo-x86/media-libs/SoGtk/SoGtk-20010601-r1.ebuild,v 1.23 2009/08/21 20:13:30 ssuominen Exp $
-inherit eutils autotools
+EAPI=2
+inherit autotools eutils multilib
DESCRIPTION="A Gtk Interface for coin"
HOMEPAGE="http://www.coin3d.org"
SRC_URI="mirror://gentoo/${P}.tar.gz"
+
LICENSE="LGPL-2.1"
SLOT="0"
KEYWORDS="x86"
IUSE="doc nls"
RDEPEND="media-libs/coin
- <x11-libs/gtkglarea-1.99.0"
+ <x11-libs/gtkglarea-1.99.0"
DEPEND="${RDEPEND}
- =sys-apps/sed-4*
nls? ( sys-devel/gettext )
doc? ( app-doc/doxygen )"
S=${WORKDIR}/${PN}
-src_unpack() {
- unpack ${A}; cd ${S}
- epatch ${FILESDIR}/${P}-string.patch
-
+src_prepare() {
+ epatch "${FILESDIR}"/${P}-string.patch
eautoreconf
}
-src_compile() {
+src_configure() {
local myconf
if ! use nls
@@ -40,21 +39,18 @@ src_compile() {
econf \
--with-x \
- ${myconf} || die
+ ${myconf}
sed -i "s:ENABLE_NLS 1:ENABLE_NLS 0:" config.h
- make || die
}
src_install () {
-
einstall \
- bindir=${D}/usr/bin \
- includedir=${D}/usr/include \
- libdir=${D}/usr/lib || die
+ bindir="${D}/usr/bin" \
+ includedir="${D}/usr/include" \
+ libdir="${D}/usr/$(get_libdir)" || die "einstall failed"
- cd ${S}
- dodoc AUTHORS COPYING ChangeLog* LICENSE* NEWS README*
+ dodoc AUTHORS ChangeLog* NEWS README*
docinto txt
dodoc docs/*
}