Gentoo Archives: gentoo-commits

From: "Jeroen Roovers (jer)" <jer@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] gentoo-x86 commit in app-arch/dpkg: ChangeLog dpkg-1.16.0.3.ebuild
Date: Wed, 04 May 2011 16:54:13
Message-Id: 20110504165402.4646B20054@flycatcher.gentoo.org
1 jer 11/05/04 16:54:02
2
3 Modified: ChangeLog
4 Added: dpkg-1.16.0.3.ebuild
5 Log:
6 Version bump.
7
8 (Portage version: 2.2.0_alpha30/cvs/Linux i686)
9
10 Revision Changes Path
11 1.165 app-arch/dpkg/ChangeLog
12
13 file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/app-arch/dpkg/ChangeLog?rev=1.165&view=markup
14 plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/app-arch/dpkg/ChangeLog?rev=1.165&content-type=text/plain
15 diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/app-arch/dpkg/ChangeLog?r1=1.164&r2=1.165
16
17 Index: ChangeLog
18 ===================================================================
19 RCS file: /var/cvsroot/gentoo-x86/app-arch/dpkg/ChangeLog,v
20 retrieving revision 1.164
21 retrieving revision 1.165
22 diff -u -r1.164 -r1.165
23 --- ChangeLog 26 Apr 2011 23:11:21 -0000 1.164
24 +++ ChangeLog 4 May 2011 16:54:02 -0000 1.165
25 @@ -1,6 +1,11 @@
26 # ChangeLog for app-arch/dpkg
27 # Copyright 1999-2011 Gentoo Foundation; Distributed under the GPL v2
28 -# $Header: /var/cvsroot/gentoo-x86/app-arch/dpkg/ChangeLog,v 1.164 2011/04/26 23:11:21 jer Exp $
29 +# $Header: /var/cvsroot/gentoo-x86/app-arch/dpkg/ChangeLog,v 1.165 2011/05/04 16:54:02 jer Exp $
30 +
31 +*dpkg-1.16.0.3 (04 May 2011)
32 +
33 + 04 May 2011; Jeroen Roovers <jer@g.o> +dpkg-1.16.0.3.ebuild:
34 + Version bump.
35
36 *dpkg-1.15.8.11 (26 Apr 2011)
37
38
39
40
41 1.1 app-arch/dpkg/dpkg-1.16.0.3.ebuild
42
43 file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/app-arch/dpkg/dpkg-1.16.0.3.ebuild?rev=1.1&view=markup
44 plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/app-arch/dpkg/dpkg-1.16.0.3.ebuild?rev=1.1&content-type=text/plain
45
46 Index: dpkg-1.16.0.3.ebuild
47 ===================================================================
48 # Copyright 1999-2011 Gentoo Foundation
49 # Distributed under the terms of the GNU General Public License v2
50 # $Header: /var/cvsroot/gentoo-x86/app-arch/dpkg/dpkg-1.16.0.3.ebuild,v 1.1 2011/05/04 16:54:02 jer Exp $
51
52 EAPI=3
53
54 inherit eutils multilib autotools toolchain-funcs
55
56 DESCRIPTION="Package maintenance system for Debian"
57 HOMEPAGE="http://packages.qa.debian.org/dpkg"
58 SRC_URI="mirror://debian/pool/main/d/${PN}/${P/-/_}.tar.bz2"
59
60 LICENSE="GPL-2"
61 SLOT="0"
62 KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~m68k ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86 ~amd64-linux ~ia64-linux ~x86-linux ~ppc-macos ~x64-solaris ~x86-solaris"
63 IUSE="bzip2 dselect nls test unicode zlib"
64
65 LANGS="
66 ast bs ca cs da de dz el eo es et eu fr gl hu id it ja km ko ku lt mr nb ne
67 nl nn pa pl pt_BR pt ro ru sk sv th tl vi zh_CN zh_TW
68 "
69
70 for X in ${LANGS} ; do
71 IUSE="${IUSE} linguas_${X}"
72 done
73
74 RDEPEND=">=dev-lang/perl-5.6.0
75 dev-perl/TimeDate
76 >=sys-libs/ncurses-5.2-r7
77 zlib? ( >=sys-libs/zlib-1.1.4 )
78 bzip2? ( app-arch/bzip2 )"
79 DEPEND="${RDEPEND}
80 dev-util/pkgconfig
81 nls? ( app-text/po4a )
82 test? (
83 dev-perl/DateTime-Format-DateParse
84 dev-perl/IO-String
85 dev-perl/Test-Pod
86 )"
87
88 src_prepare() {
89 epatch "${FILESDIR}"/${PN}-1.15.5.6-bootstrap.patch
90
91 # don't mess with linker optimisation, respect user's flags (don't break!)
92 sed -i -e '/DPKG_LINKER_OPTIMISATIONS/d' configure.ac || die
93
94 # Force the use of the running bash for get-version (this file is never
95 # installed, so no need to worry about hardcoding a temporary bash)
96 sed -i -e '1c\#!'"${BASH}" get-version || die
97
98 # this test depends on a Debian only gzip extension that adds --rsyncable
99 # which will therefore always fail on Gentoo. (bug #310847).
100 sed -i scripts/Makefile.am \
101 -e '/850_Dpkg_Compression.t/d' \
102 || die "sed failed"
103
104 eautoreconf
105 }
106
107 src_configure() {
108 tc-export CC
109 local myconf
110 if use nls; then
111 myconf="--enable-nls $(use_with dselect)"
112 else
113 if use dselect; then
114 elog "Building dselect requires USE=nls - disabling USE=dselect..."
115 fi
116 myconf="--disable-nls --without-dselect"
117 fi
118 econf \
119 ${myconf} \
120 $(use_with bzip2 bz2) \
121 $(use_enable unicode) \
122 $(use_with zlib) \
123 --disable-compiler-warnings \
124 --without-selinux \
125 --without-start-stop-daemon
126 }
127
128 src_install() {
129 strip-linguas ${LANGS}
130 if [ -z "${LINGUAS}" ] ; then
131 LINGUAS=none
132 fi
133
134 emake DESTDIR="${D}" LINGUAS="${LINGUAS}" install || die "emake install failed"
135 rm "${ED}"/usr/sbin/install-info || die "rm install-info failed"
136 dodoc ChangeLog THANKS TODO
137 keepdir /usr/$(get_libdir)/db/methods/{mnt,floppy,disk}
138 keepdir /usr/$(get_libdir)/db/{alternatives,info,methods,parts,updates}
139 }