From 9b325ddfb5810ecf68bdcc114dbc837fb7475eae Mon Sep 17 00:00:00 2001 From: Samuli Suominen Date: Mon, 28 Dec 2009 16:01:28 +0000 Subject: Stop using deprecated kde-functions.eclass. (Portage version: 2.2_rc61/cvs/Linux x86_64) --- sys-fs/autorun/ChangeLog | 7 +++++-- sys-fs/autorun/autorun-3.17.ebuild | 25 ++++++++++++++----------- 2 files changed, 19 insertions(+), 13 deletions(-) (limited to 'sys-fs') diff --git a/sys-fs/autorun/ChangeLog b/sys-fs/autorun/ChangeLog index bff1bab37af1..f264a46dcd38 100644 --- a/sys-fs/autorun/ChangeLog +++ b/sys-fs/autorun/ChangeLog @@ -1,6 +1,9 @@ # ChangeLog for sys-fs/autorun -# Copyright 1999-2008 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/sys-fs/autorun/ChangeLog,v 1.4 2008/12/22 06:13:57 vapier Exp $ +# Copyright 1999-2009 Gentoo Foundation; Distributed under the GPL v2 +# $Header: /var/cvsroot/gentoo-x86/sys-fs/autorun/ChangeLog,v 1.5 2009/12/28 16:01:28 ssuominen Exp $ + + 28 Dec 2009; Samuli Suominen autorun-3.17.ebuild: + Stop using deprecated kde-functions.eclass. 22 Dec 2008; Mike Frysinger +files/autorun-3.17-headers.patch, autorun-3.17.ebuild: diff --git a/sys-fs/autorun/autorun-3.17.ebuild b/sys-fs/autorun/autorun-3.17.ebuild index c94a6232fe3f..bb4c8add2066 100644 --- a/sys-fs/autorun/autorun-3.17.ebuild +++ b/sys-fs/autorun/autorun-3.17.ebuild @@ -1,10 +1,9 @@ -# 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/sys-fs/autorun/autorun-3.17.ebuild,v 1.3 2008/12/22 06:13:57 vapier Exp $ +# $Header: /var/cvsroot/gentoo-x86/sys-fs/autorun/autorun-3.17.ebuild,v 1.4 2009/12/28 16:01:28 ssuominen Exp $ -inherit kde-functions eutils - -set-kdedir +EAPI=2 +inherit eutils DESCRIPTION="auto cdrom mounter for the lazy user" HOMEPAGE="http://autorun.sourceforge.net/" @@ -16,16 +15,20 @@ KEYWORDS="~amd64 ~x86" IUSE="" DEPEND="app-text/xmlto - =app-text/docbook-xml-dtd-4.1.2*" + app-text/docbook-xml-dtd:4.1.2" RDEPEND="" -src_unpack() { - unpack ${A} - cd "${S}" - epatch "${FILESDIR}"/${P}-headers.patch #251684 +src_prepare() { + epatch "${FILESDIR}"/${P}-headers.patch +} + +src_configure() { + export KDEDIR=/usr + econf \ + --disable-dependency-tracking } src_install() { - emake install DESTDIR="${D}" || die + emake DESTDIR="${D}" install || die dodoc AUTHORS ChangeLog NEWS README } -- cgit v1.2.3-65-gdbad