From 4952a43f14933879da1c8f31d7bb041ae4df26fd Mon Sep 17 00:00:00 2001 From: Mike Frysinger Date: Tue, 6 Apr 2004 04:08:19 +0000 Subject: add inherit eutils --- app-laptop/toshiba-utils/toshiba-utils-2.0.1-r1.ebuild | 10 ++++++---- app-laptop/tpb/tpb-0.5.1.ebuild | 4 +++- app-laptop/tpb/tpb-0.6.0.ebuild | 4 +++- app-laptop/tpb/tpb-0.6.1.ebuild | 10 +++++----- 4 files changed, 17 insertions(+), 11 deletions(-) (limited to 'app-laptop') diff --git a/app-laptop/toshiba-utils/toshiba-utils-2.0.1-r1.ebuild b/app-laptop/toshiba-utils/toshiba-utils-2.0.1-r1.ebuild index 943eeb2225ab..41b9ba32d268 100644 --- a/app-laptop/toshiba-utils/toshiba-utils-2.0.1-r1.ebuild +++ b/app-laptop/toshiba-utils/toshiba-utils-2.0.1-r1.ebuild @@ -1,15 +1,17 @@ # Copyright 1999-2004 Gentoo Technologies, Inc. # Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/app-laptop/toshiba-utils/toshiba-utils-2.0.1-r1.ebuild,v 1.1 2004/03/08 05:52:22 latexer Exp $ +# $Header: /var/cvsroot/gentoo-x86/app-laptop/toshiba-utils/toshiba-utils-2.0.1-r1.ebuild,v 1.2 2004/04/06 04:07:02 vapier Exp $ + +inherit eutils S=${WORKDIR}/toshutils-${PV} DESCRIPTION="Toshiba Laptop Utilities" HOMEPAGE="http://www.buzzard.org.uk/toshiba/" SRC_URI="http://www.buzzard.org.uk/toshiba/toshutils-${PV}.tar.gz" -SLOT="0" LICENSE="GPL-2" -KEYWORDS="x86 -ppc -sparc" +SLOT="0" +KEYWORDS="x86" IUSE="X gtk" DEPEND="gtk? ( =x11-libs/gtk+-1* )" @@ -28,7 +30,7 @@ src_unpack() { } src_compile() { - econf + econf || die make depend make -C src || die } diff --git a/app-laptop/tpb/tpb-0.5.1.ebuild b/app-laptop/tpb/tpb-0.5.1.ebuild index 5ba58b6c121f..825b770506f7 100644 --- a/app-laptop/tpb/tpb-0.5.1.ebuild +++ b/app-laptop/tpb/tpb-0.5.1.ebuild @@ -1,6 +1,8 @@ # Copyright 1999-2004 Gentoo Technologies, Inc. # Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/app-laptop/tpb/tpb-0.5.1.ebuild,v 1.1 2004/03/08 05:08:54 latexer Exp $ +# $Header: /var/cvsroot/gentoo-x86/app-laptop/tpb/tpb-0.5.1.ebuild,v 1.2 2004/04/06 04:07:48 vapier Exp $ + +inherit eutils DESCRIPTION="Thinkpad button utility" HOMEPAGE="http://savannah.nongnu.org/projects/tpb/" diff --git a/app-laptop/tpb/tpb-0.6.0.ebuild b/app-laptop/tpb/tpb-0.6.0.ebuild index b4c7148dd5f0..0127098eab17 100644 --- a/app-laptop/tpb/tpb-0.6.0.ebuild +++ b/app-laptop/tpb/tpb-0.6.0.ebuild @@ -1,6 +1,8 @@ # Copyright 1999-2004 Gentoo Technologies, Inc. # Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/app-laptop/tpb/tpb-0.6.0.ebuild,v 1.1 2004/03/08 05:08:54 latexer Exp $ +# $Header: /var/cvsroot/gentoo-x86/app-laptop/tpb/tpb-0.6.0.ebuild,v 1.2 2004/04/06 04:07:59 vapier Exp $ + +inherit eutils DESCRIPTION="Thinkpad button utility" HOMEPAGE="http://savannah.nongnu.org/projects/tpb/" diff --git a/app-laptop/tpb/tpb-0.6.1.ebuild b/app-laptop/tpb/tpb-0.6.1.ebuild index 24c5ad9bba99..f85487f7bbc4 100644 --- a/app-laptop/tpb/tpb-0.6.1.ebuild +++ b/app-laptop/tpb/tpb-0.6.1.ebuild @@ -1,6 +1,8 @@ # Copyright 1999-2004 Gentoo Technologies, Inc. # Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/app-laptop/tpb/tpb-0.6.1.ebuild,v 1.1 2004/03/31 01:10:52 latexer Exp $ +# $Header: /var/cvsroot/gentoo-x86/app-laptop/tpb/tpb-0.6.1.ebuild,v 1.2 2004/04/06 04:08:19 vapier Exp $ + +inherit eutils DESCRIPTION="Thinkpad button utility" HOMEPAGE="http://savannah.nongnu.org/projects/tpb/" @@ -21,10 +23,7 @@ src_unpack() { } src_compile() { - local myconf - - econf ${myconf} `use_enable nls` - + econf `use_enable nls` || die emake || die } @@ -32,6 +31,7 @@ src_install() { make DESTDIR=${D} install || die dodoc README ChangeLog CREDITS doc/{nvram.txt,callback_example.sh} } + pkg_postinst() { einfo "tpb requires you to have nvram support compiled into" einfo "your kernel to function." -- cgit v1.2.3-65-gdbad