Gentoo Archives: gentoo-commits

From: "Samuli Suominen (ssuominen)" <ssuominen@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] gentoo-x86 commit in dev-libs/libatasmart: ChangeLog libatasmart-0.17.ebuild
Date: Mon, 04 Apr 2011 15:26:11
Message-Id: 20110404152536.C601920054@flycatcher.gentoo.org
1 ssuominen 11/04/04 15:25:36
2
3 Modified: ChangeLog libatasmart-0.17.ebuild
4 Log:
5 USE="static-libs" and punt useless libtool archive.
6
7 (Portage version: 2.2.0_alpha29/cvs/Linux x86_64)
8
9 Revision Changes Path
10 1.19 dev-libs/libatasmart/ChangeLog
11
12 file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-libs/libatasmart/ChangeLog?rev=1.19&view=markup
13 plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-libs/libatasmart/ChangeLog?rev=1.19&content-type=text/plain
14 diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-libs/libatasmart/ChangeLog?r1=1.18&r2=1.19
15
16 Index: ChangeLog
17 ===================================================================
18 RCS file: /var/cvsroot/gentoo-x86/dev-libs/libatasmart/ChangeLog,v
19 retrieving revision 1.18
20 retrieving revision 1.19
21 diff -u -r1.18 -r1.19
22 --- ChangeLog 4 Jan 2011 00:16:33 -0000 1.18
23 +++ ChangeLog 4 Apr 2011 15:25:36 -0000 1.19
24 @@ -1,6 +1,9 @@
25 # ChangeLog for dev-libs/libatasmart
26 # Copyright 1999-2011 Gentoo Foundation; Distributed under the GPL v2
27 -# $Header: /var/cvsroot/gentoo-x86/dev-libs/libatasmart/ChangeLog,v 1.18 2011/01/04 00:16:33 eva Exp $
28 +# $Header: /var/cvsroot/gentoo-x86/dev-libs/libatasmart/ChangeLog,v 1.19 2011/04/04 15:25:36 ssuominen Exp $
29 +
30 + 04 Apr 2011; Samuli Suominen <ssuominen@g.o> libatasmart-0.17.ebuild:
31 + USE="static-libs" and punt useless libtool archive.
32
33 04 Jan 2011; Gilles Dartiguelongue <eva@g.o> libatasmart-0.17.ebuild,
34 +files/libatasmart-0.17-strpool-uninit.patch:
35
36
37
38 1.17 dev-libs/libatasmart/libatasmart-0.17.ebuild
39
40 file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-libs/libatasmart/libatasmart-0.17.ebuild?rev=1.17&view=markup
41 plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-libs/libatasmart/libatasmart-0.17.ebuild?rev=1.17&content-type=text/plain
42 diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-libs/libatasmart/libatasmart-0.17.ebuild?r1=1.16&r2=1.17
43
44 Index: libatasmart-0.17.ebuild
45 ===================================================================
46 RCS file: /var/cvsroot/gentoo-x86/dev-libs/libatasmart/libatasmart-0.17.ebuild,v
47 retrieving revision 1.16
48 retrieving revision 1.17
49 diff -u -r1.16 -r1.17
50 --- libatasmart-0.17.ebuild 3 Jan 2011 23:45:37 -0000 1.16
51 +++ libatasmart-0.17.ebuild 4 Apr 2011 15:25:36 -0000 1.17
52 @@ -1,10 +1,9 @@
53 # Copyright 1999-2011 Gentoo Foundation
54 # Distributed under the terms of the GNU General Public License v2
55 -# $Header: /var/cvsroot/gentoo-x86/dev-libs/libatasmart/libatasmart-0.17.ebuild,v 1.16 2011/01/03 23:45:37 eva Exp $
56 +# $Header: /var/cvsroot/gentoo-x86/dev-libs/libatasmart/libatasmart-0.17.ebuild,v 1.17 2011/04/04 15:25:36 ssuominen Exp $
57
58 -EAPI="2"
59 -
60 -inherit base
61 +EAPI=4
62 +inherit eutils
63
64 DESCRIPTION="Lean and small library for ATA S.M.A.R.T. hard disks"
65 HOMEPAGE="http://0pointer.de/blog/projects/being-smart.html"
66 @@ -13,15 +12,25 @@
67 LICENSE="LGPL-2.1"
68 SLOT="0"
69 KEYWORDS="alpha amd64 arm hppa ia64 ppc ppc64 sh sparc x86"
70 -IUSE=""
71 +IUSE="static-libs"
72
73 RDEPEND="sys-fs/udev"
74 -DEPEND="${RDEPEND}"
75 +DEPEND="${RDEPEND}
76 + dev-util/pkgconfig"
77
78 -PATCHES=("${FILESDIR}/${PN}-0.17-strpool-uninit.patch")
79 +src_prepare() {
80 + epatch "${FILESDIR}"/${PN}-0.17-strpool-uninit.patch
81 +}
82 +
83 +src_configure() {
84 + econf \
85 + $(use_enable static-libs static)
86 +}
87
88 src_install() {
89 - emake DESTDIR="${D}" install || die "emake install failed"
90 - dodoc README || die "dodoc failed"
91 - rm -rf "${D}"/usr/share/doc/${PN} || die "rm failed"
92 + emake DESTDIR="${D}" install
93 + dodoc README
94 +
95 + rm -rf "${D}"/usr/share/doc/${PN} || die
96 + find "${D}" -name '*.la' -exec rm -f {} +
97 }