diff options
author | Samuli Suominen <ssuominen@gentoo.org> | 2011-04-04 15:25:36 +0000 |
---|---|---|
committer | Samuli Suominen <ssuominen@gentoo.org> | 2011-04-04 15:25:36 +0000 |
commit | babc67e862cf4b28713b2cfaefd4905dbbdbc2f3 (patch) | |
tree | 89fb49632d1b5cb61192970bb4cbc9d261e3be8f /dev-libs | |
parent | old (diff) | |
download | gentoo-2-babc67e862cf4b28713b2cfaefd4905dbbdbc2f3.tar.gz gentoo-2-babc67e862cf4b28713b2cfaefd4905dbbdbc2f3.tar.bz2 gentoo-2-babc67e862cf4b28713b2cfaefd4905dbbdbc2f3.zip |
USE="static-libs" and punt useless libtool archive.
(Portage version: 2.2.0_alpha29/cvs/Linux x86_64)
Diffstat (limited to 'dev-libs')
-rw-r--r-- | dev-libs/libatasmart/ChangeLog | 5 | ||||
-rw-r--r-- | dev-libs/libatasmart/libatasmart-0.17.ebuild | 29 |
2 files changed, 23 insertions, 11 deletions
diff --git a/dev-libs/libatasmart/ChangeLog b/dev-libs/libatasmart/ChangeLog index 7178e3a0cfec..45e2dd0483ef 100644 --- a/dev-libs/libatasmart/ChangeLog +++ b/dev-libs/libatasmart/ChangeLog @@ -1,6 +1,9 @@ # ChangeLog for dev-libs/libatasmart # Copyright 1999-2011 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/dev-libs/libatasmart/ChangeLog,v 1.18 2011/01/04 00:16:33 eva Exp $ +# $Header: /var/cvsroot/gentoo-x86/dev-libs/libatasmart/ChangeLog,v 1.19 2011/04/04 15:25:36 ssuominen Exp $ + + 04 Apr 2011; Samuli Suominen <ssuominen@gentoo.org> libatasmart-0.17.ebuild: + USE="static-libs" and punt useless libtool archive. 04 Jan 2011; Gilles Dartiguelongue <eva@gentoo.org> libatasmart-0.17.ebuild, +files/libatasmart-0.17-strpool-uninit.patch: diff --git a/dev-libs/libatasmart/libatasmart-0.17.ebuild b/dev-libs/libatasmart/libatasmart-0.17.ebuild index 8c2d513d367b..db1505ed4de4 100644 --- a/dev-libs/libatasmart/libatasmart-0.17.ebuild +++ b/dev-libs/libatasmart/libatasmart-0.17.ebuild @@ -1,10 +1,9 @@ # Copyright 1999-2011 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/dev-libs/libatasmart/libatasmart-0.17.ebuild,v 1.16 2011/01/03 23:45:37 eva Exp $ +# $Header: /var/cvsroot/gentoo-x86/dev-libs/libatasmart/libatasmart-0.17.ebuild,v 1.17 2011/04/04 15:25:36 ssuominen Exp $ -EAPI="2" - -inherit base +EAPI=4 +inherit eutils DESCRIPTION="Lean and small library for ATA S.M.A.R.T. hard disks" HOMEPAGE="http://0pointer.de/blog/projects/being-smart.html" @@ -13,15 +12,25 @@ SRC_URI="http://0pointer.de/public/${P}.tar.gz" LICENSE="LGPL-2.1" SLOT="0" KEYWORDS="alpha amd64 arm hppa ia64 ppc ppc64 sh sparc x86" -IUSE="" +IUSE="static-libs" RDEPEND="sys-fs/udev" -DEPEND="${RDEPEND}" +DEPEND="${RDEPEND} + dev-util/pkgconfig" -PATCHES=("${FILESDIR}/${PN}-0.17-strpool-uninit.patch") +src_prepare() { + epatch "${FILESDIR}"/${PN}-0.17-strpool-uninit.patch +} + +src_configure() { + econf \ + $(use_enable static-libs static) +} src_install() { - emake DESTDIR="${D}" install || die "emake install failed" - dodoc README || die "dodoc failed" - rm -rf "${D}"/usr/share/doc/${PN} || die "rm failed" + emake DESTDIR="${D}" install + dodoc README + + rm -rf "${D}"/usr/share/doc/${PN} || die + find "${D}" -name '*.la' -exec rm -f {} + } |