summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSamuli Suominen <ssuominen@gentoo.org>2011-04-04 15:25:36 +0000
committerSamuli Suominen <ssuominen@gentoo.org>2011-04-04 15:25:36 +0000
commit9ae93fca0cf32fd2b11fa23531d28b0a9ff5104f (patch)
tree552c1b7041798ede9bb55304dfd6834e037bb641 /dev-libs
parentold (diff)
downloadhistorical-9ae93fca0cf32fd2b11fa23531d28b0a9ff5104f.tar.gz
historical-9ae93fca0cf32fd2b11fa23531d28b0a9ff5104f.tar.bz2
historical-9ae93fca0cf32fd2b11fa23531d28b0a9ff5104f.zip
USE="static-libs" and punt useless libtool archive.
Package-Manager: portage-2.2.0_alpha29/cvs/Linux x86_64
Diffstat (limited to 'dev-libs')
-rw-r--r--dev-libs/libatasmart/ChangeLog5
-rw-r--r--dev-libs/libatasmart/Manifest10
-rw-r--r--dev-libs/libatasmart/libatasmart-0.17.ebuild29
3 files changed, 28 insertions, 16 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/Manifest b/dev-libs/libatasmart/Manifest
index 756ac24add62..860c4c765bf4 100644
--- a/dev-libs/libatasmart/Manifest
+++ b/dev-libs/libatasmart/Manifest
@@ -3,13 +3,13 @@ Hash: SHA256
AUX libatasmart-0.17-strpool-uninit.patch 566 RMD160 052ef22f40cc315a4bea279b4010298a530b5671 SHA1 3dbb1041dbf2d5af6a38b396b98b9410967d6135 SHA256 bc6466359efba1ad11f9f44cba8f67883c3f08023e46f509dc7ebb330115f188
DIST libatasmart-0.17.tar.gz 376341 RMD160 88083222f34ae34457e25d772204e4efbeefb379 SHA1 33135e67bf6a3ea87b902944a80190e8f4427b2a SHA256 2d62a11274f32cde2f074adef9ceb662bf205618dfc8f8e74b9be6a8b1ed5ffd
-EBUILD libatasmart-0.17.ebuild 791 RMD160 1349fab2d07f600d0fdbaad918e5bb2be8f60681 SHA1 595b618ec66a95ded125c8ac5a2d166a3777f2da SHA256 a15018c0d87d87d24bdc6aa4a82221cf345d84b59012e2893ba8df325163a48d
-MISC ChangeLog 2197 RMD160 36c7a47a36ca95ab153d9a6a17e105a614d9652d SHA1 d9e4188d768143438016f9b131c013e152499661 SHA256 3df0461d49dd7f64a4cc758abc208bce7354621e5a77adba16ff0aba714bd6ca
+EBUILD libatasmart-0.17.ebuild 888 RMD160 6013e22366ec12ccb7a76c2ab4c619eaf961252b SHA1 a589011321cc04721242dfb3bc5a639209a18f39 SHA256 4efb615774203e4bfdf0da3248818736ae9b4d272b59038aff310bf1a984cc7e
+MISC ChangeLog 2337 RMD160 cacc556389d033f3fd7d67475e7827edae726591 SHA1 73ad05c6d9a2fa5dbebba6c304f7bc29c34f3ad2 SHA256 86e07480d030e42522226f27410da67e60c8cfbb191eb9c1764c58e26dda6a99
MISC metadata.xml 158 RMD160 c0e2bae8e91bb6be8922bac5e4f597302e06587e SHA1 38f78e9790bcd4382b4a49aa226aa6dda1d3a3d7 SHA256 3a7dbca0fdc557de69783e0663e2d76ddab129ea8a19b2d0ef6d3e5d1b947ce1
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2.0.17 (GNU/Linux)
-iF4EAREIAAYFAk2Z4m0ACgkQXkR9YqOcLPHh+AD/Qx/tzA13zz/YChrILooV40q7
-VUnOgQ0SCqN+jsVeQTEA/3ebp7nbZZr2+xRD2wEDY+IGPY5ko/2g/EvoEEjpUDdE
-=k+hC
+iF4EAREIAAYFAk2Z40oACgkQXkR9YqOcLPE8YAD7BLqSVDwspWlPRQa9phYlLKoM
+xSdmVtoL0TYMx7l3cWsA/jYjLoCbUj/CQuXBmoLG2ia3eFyfl7IzEN+mSgBOWkmk
+=Cura
-----END PGP SIGNATURE-----
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 {} +
}