summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAlexandre Rostovtsev <tetromino@gentoo.org>2012-09-13 10:59:26 +0000
committerAlexandre Rostovtsev <tetromino@gentoo.org>2012-09-13 10:59:26 +0000
commitbb4867f0971ff8ccdd8d7b266c42d8e9c8f0f268 (patch)
tree5a84f8f18dcc2a95b94fa584036ee258748eb374 /dev-util/sysprof
parentForgot to inherit toolchain-funcs (diff)
downloadgentoo-2-bb4867f0971ff8ccdd8d7b266c42d8e9c8f0f268.tar.gz
gentoo-2-bb4867f0971ff8ccdd8d7b266c42d8e9c8f0f268.tar.bz2
gentoo-2-bb4867f0971ff8ccdd8d7b266c42d8e9c8f0f268.zip
Use pkgconfig to read udevdir from udev.pc. Drop old.
(Portage version: 2.2.0_alpha125/cvs/Linux x86_64)
Diffstat (limited to 'dev-util/sysprof')
-rw-r--r--dev-util/sysprof/ChangeLog8
-rw-r--r--dev-util/sysprof/sysprof-1.1.8-r2.ebuild (renamed from dev-util/sysprof/sysprof-1.1.8.ebuild)19
2 files changed, 15 insertions, 12 deletions
diff --git a/dev-util/sysprof/ChangeLog b/dev-util/sysprof/ChangeLog
index 34edab8d435f..b6c1de4c3c49 100644
--- a/dev-util/sysprof/ChangeLog
+++ b/dev-util/sysprof/ChangeLog
@@ -1,6 +1,12 @@
# ChangeLog for dev-util/sysprof
# Copyright 1999-2012 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/dev-util/sysprof/ChangeLog,v 1.20 2012/06/16 08:50:40 pacho Exp $
+# $Header: /var/cvsroot/gentoo-x86/dev-util/sysprof/ChangeLog,v 1.21 2012/09/13 10:59:26 tetromino Exp $
+
+*sysprof-1.1.8-r2 (13 Sep 2012)
+
+ 13 Sep 2012; Alexandre Rostovtsev <tetromino@gentoo.org>
+ -sysprof-1.1.8.ebuild, +sysprof-1.1.8-r2.ebuild:
+ Use pkgconfig to read udevdir from udev.pc. Drop old.
16 Jun 2012; Pacho Ramos <pacho@gentoo.org> metadata.xml:
Leio is second maintainer as talked with him.
diff --git a/dev-util/sysprof/sysprof-1.1.8.ebuild b/dev-util/sysprof/sysprof-1.1.8-r2.ebuild
index cc6b21208356..b0afbf6d8c0e 100644
--- a/dev-util/sysprof/sysprof-1.1.8.ebuild
+++ b/dev-util/sysprof/sysprof-1.1.8-r2.ebuild
@@ -1,10 +1,10 @@
# Copyright 1999-2012 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/dev-util/sysprof/sysprof-1.1.8.ebuild,v 1.2 2012/05/05 02:18:51 jdhore Exp $
+# $Header: /var/cvsroot/gentoo-x86/dev-util/sysprof/sysprof-1.1.8-r2.ebuild,v 1.1 2012/09/13 10:59:26 tetromino Exp $
EAPI="4"
-inherit gnome2-utils eutils linux-info
+inherit gnome2-utils eutils linux-info toolchain-funcs
DESCRIPTION="System-wide Linux Profiler"
HOMEPAGE="http://sysprof.com/"
@@ -30,18 +30,15 @@ pkg_pretend() {
}
src_install() {
- default
-
# Install udev rules in the proper place
- mkdir -p "${D}/lib/udev/rules.d" || die
- mv "${D}/etc/udev/rules.d/"* "${D}/lib/udev/rules.d/" || die
- rm -rf "${D}/etc/udev/rules.d/"
+ local udevdir="$($(tc-getPKG_CONFIG) --variable=udevdir udev)"
+ export MAKEOPTS="${MAKEOPTS} udevdir=${udevdir}/rules.d"
+ default
- # Insert icons in the proper place
+ # Symlink icons for use in application launchers
for i in 16 24 32 48; do
- insinto "/usr/share/icons/hicolor/${i}x${i}/apps"
- newins "${S}/sysprof-icon-${i}.png" sysprof.png
- rm "${D}/usr/share/pixmaps/sysprof-icon-${i}.png" || die "rm $i failed!"
+ dosym "/usr/share/pixmaps/sysprof-icon-${i}.png" \
+ "/usr/share/icons/hicolor/${i}x${i}/apps/sysprof.png"
done
make_desktop_entry sysprof Sysprof sysprof
}