diff options
author | Mike Frysinger <vapier@gentoo.org> | 2009-10-11 18:02:08 +0000 |
---|---|---|
committer | Mike Frysinger <vapier@gentoo.org> | 2009-10-11 18:02:08 +0000 |
commit | 56380c57bf4505480545303728925f49af66ff49 (patch) | |
tree | 86c40ad8656758b6be23b3da0d9dfe121dacb29c /sys-fs/sysfsutils/sysfsutils-2.1.0.ebuild | |
parent | Version bump (bug #191260). Set SUPPORT_PYTHON_ABIS. (diff) | |
download | gentoo-2-56380c57bf4505480545303728925f49af66ff49.tar.gz gentoo-2-56380c57bf4505480545303728925f49af66ff49.tar.bz2 gentoo-2-56380c57bf4505480545303728925f49af66ff49.zip |
Use epunt_cxx #288544 by Michał Masłowski and gen_usr_ldscript -a.
(Portage version: 2.2_rc42/cvs/Linux x86_64)
Diffstat (limited to 'sys-fs/sysfsutils/sysfsutils-2.1.0.ebuild')
-rw-r--r-- | sys-fs/sysfsutils/sysfsutils-2.1.0.ebuild | 19 |
1 files changed, 10 insertions, 9 deletions
diff --git a/sys-fs/sysfsutils/sysfsutils-2.1.0.ebuild b/sys-fs/sysfsutils/sysfsutils-2.1.0.ebuild index 447b9ed5a6f9..5ce3d403141e 100644 --- a/sys-fs/sysfsutils/sysfsutils-2.1.0.ebuild +++ b/sys-fs/sysfsutils/sysfsutils-2.1.0.ebuild @@ -1,8 +1,8 @@ -# Copyright 1999-2007 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/sysfsutils/sysfsutils-2.1.0.ebuild,v 1.9 2007/12/16 12:34:09 armin76 Exp $ +# $Header: /var/cvsroot/gentoo-x86/sys-fs/sysfsutils/sysfsutils-2.1.0.ebuild,v 1.10 2009/10/11 18:02:08 vapier Exp $ -inherit multilib +inherit toolchain-funcs eutils DESCRIPTION="System Utilities Based on Sysfs" HOMEPAGE="http://linux-diag.sourceforge.net/Sysfsutils.html" @@ -13,15 +13,16 @@ SLOT="0" KEYWORDS="alpha amd64 arm hppa ia64 ~mips ppc ppc64 s390 sh sparc x86" IUSE="" +src_unpack() { + unpack ${A} + epunt_cxx +} + src_install() { emake DESTDIR="${D}" install || die "make install failed" dodoc AUTHORS CREDITS ChangeLog NEWS README TODO docs/libsysfs.txt + gen_usr_ldscript -a sysfs # We do not distribute this - rm -f "${D}"/usr/bin/dlist_test - - # Move shared libs to / - dodir /$(get_libdir) - mv "${D}"/usr/$(get_libdir)/lib*.so* "${D}"/$(get_libdir)/ || die - gen_usr_ldscript libsysfs.so + rm -f "${D}"/usr/bin/dlist_test "${D}"/usr/lib*/libsysfs.la } |