Gentoo Archives: gentoo-commits

From: "Jonathan Callen (abcd)" <abcd@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] gentoo-x86 commit in dev-util/schroot: schroot-1.2.3-r2.ebuild ChangeLog
Date: Fri, 02 Oct 2009 02:52:10
Message-Id: E1MtYFc-0000vn-M1@stork.gentoo.org
1 abcd 09/10/02 02:52:08
2
3 Modified: ChangeLog
4 Added: schroot-1.2.3-r2.ebuild
5 Log:
6 Remove *.la files
7 (Portage version: -svn/cvs/Linux i686)
8
9 Revision Changes Path
10 1.5 dev-util/schroot/ChangeLog
11
12 file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/dev-util/schroot/ChangeLog?rev=1.5&view=markup
13 plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/dev-util/schroot/ChangeLog?rev=1.5&content-type=text/plain
14 diff : http://sources.gentoo.org/viewcvs.py/gentoo-x86/dev-util/schroot/ChangeLog?r1=1.4&r2=1.5
15
16 Index: ChangeLog
17 ===================================================================
18 RCS file: /var/cvsroot/gentoo-x86/dev-util/schroot/ChangeLog,v
19 retrieving revision 1.4
20 retrieving revision 1.5
21 diff -u -r1.4 -r1.5
22 --- ChangeLog 14 Sep 2009 08:35:25 -0000 1.4
23 +++ ChangeLog 2 Oct 2009 02:52:08 -0000 1.5
24 @@ -1,6 +1,11 @@
25 # ChangeLog for dev-util/schroot
26 # Copyright 1999-2009 Gentoo Foundation; Distributed under the GPL v2
27 -# $Header: /var/cvsroot/gentoo-x86/dev-util/schroot/ChangeLog,v 1.4 2009/09/14 08:35:25 abcd Exp $
28 +# $Header: /var/cvsroot/gentoo-x86/dev-util/schroot/ChangeLog,v 1.5 2009/10/02 02:52:08 abcd Exp $
29 +
30 +*schroot-1.2.3-r2 (02 Oct 2009)
31 +
32 + 02 Oct 2009; Jonathan Callen <abcd@g.o> +schroot-1.2.3-r2.ebuild:
33 + Remove *.la files
34
35 14 Sep 2009; Jonathan Callen <abcd@g.o> schroot-1.2.3-r1.ebuild:
36 Fix build error with FEATURES=-test (bug 284773). Thanks to Andy Kittner
37
38
39
40 1.1 dev-util/schroot/schroot-1.2.3-r2.ebuild
41
42 file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/dev-util/schroot/schroot-1.2.3-r2.ebuild?rev=1.1&view=markup
43 plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/dev-util/schroot/schroot-1.2.3-r2.ebuild?rev=1.1&content-type=text/plain
44
45 Index: schroot-1.2.3-r2.ebuild
46 ===================================================================
47 # Copyright 1999-2009 Gentoo Foundation
48 # Distributed under the terms of the GNU General Public License v2
49 # $Header: /var/cvsroot/gentoo-x86/dev-util/schroot/schroot-1.2.3-r2.ebuild,v 1.1 2009/10/02 02:52:08 abcd Exp $
50
51 EAPI="2"
52
53 inherit autotools base
54
55 DESCRIPTION="Utility to execute commands in a chroot environment"
56 HOMEPAGE="http://packages.debian.org/source/sid/schroot"
57 SRC_URI="mirror://debian/pool/main/${PN:0:1}/${PN}/${PN}_${PV}.orig.tar.gz"
58
59 LICENSE="GPL-3"
60 SLOT="0"
61 KEYWORDS="~amd64 ~x86"
62 IUSE="+dchroot debug doc nls test"
63
64 COMMON_DEPEND="
65 >=dev-libs/boost-1.34.0
66 dev-libs/lockdev
67 sys-libs/pam
68 "
69
70 DEPEND="${COMMON_DEPEND}
71 nls? ( sys-devel/gettext )
72 test? ( >=dev-util/cppunit-1.10.0 )
73 "
74 RDEPEND="${COMMON_DEPEND}
75 sys-apps/debianutils
76 dchroot? ( !dev-util/dchroot )
77 nls? ( virtual/libintl )
78 "
79
80 PATCHES=(
81 "${FILESDIR}/${P}-autotools.patch"
82 "${FILESDIR}/${P}-pam.patch"
83 "${FILESDIR}/${P}-tests.patch"
84 )
85
86 src_prepare() {
87 base_src_prepare
88
89 if use test; then
90 # Fix bug where aclocal doesn't find cppunit.m4 from the system...
91 ln -s /usr/share/aclocal/cppunit.m4 m4/
92 else
93 # Don't depend on cppunit unless we are testing
94 sed -i '/AM_PATH_CPPUNIT/s/^.*$/:/' configure.ac
95 fi
96
97 export AT_M4DIR=m4
98 eautoreconf
99 }
100
101 src_configure() {
102 econf \
103 $(use_enable dchroot) \
104 $(use_enable dchroot dchroot-dsa) \
105 $(use_enable debug) \
106 $(use_enable nls) \
107 --enable-shared \
108 --disable-static \
109 --localstatedir=/var
110 }
111
112 src_install() {
113 emake DESTDIR="${D}" install || die "emake install failed"
114
115 newinitd "${FILESDIR}"/schroot.initd schroot || die "installation of init.d script failed"
116 newconfd "${FILESDIR}"/schroot.confd schroot || die "installation of conf.d file failed"
117
118 dodoc AUTHORS ChangeLog NEWS README THANKS TODO || die "installation of docs failed"
119 if use doc; then
120 insinto /usr/share/doc/${PF}/html/sbuild
121 doins doc/sbuild/html/* || die "installation of html docs failed"
122 insinto /usr/share/doc/${PF}/html/schroot
123 doins doc/schroot/html/* || die "installation of html docs failed"
124 fi
125
126 # Remove *.la files
127 find "${D}" -name "*.la" -exec rm {} + || die "removal of *.la files failed"
128 }