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.3.ebuild
Date: Sat, 28 Apr 2012 17:40:31
Message-Id: 20120428174021.205C32004B@flycatcher.gentoo.org
1 jer 12/04/28 17:40:21
2
3 Modified: ChangeLog
4 Added: dpkg-1.16.3.ebuild
5 Log:
6 Version bump.
7
8 (Portage version: 2.2.0_alpha101/cvs/Linux x86_64)
9
10 Revision Changes Path
11 1.179 app-arch/dpkg/ChangeLog
12
13 file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/app-arch/dpkg/ChangeLog?rev=1.179&view=markup
14 plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/app-arch/dpkg/ChangeLog?rev=1.179&content-type=text/plain
15 diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/app-arch/dpkg/ChangeLog?r1=1.178&r2=1.179
16
17 Index: ChangeLog
18 ===================================================================
19 RCS file: /var/cvsroot/gentoo-x86/app-arch/dpkg/ChangeLog,v
20 retrieving revision 1.178
21 retrieving revision 1.179
22 diff -u -r1.178 -r1.179
23 --- ChangeLog 20 Mar 2012 14:10:35 -0000 1.178
24 +++ ChangeLog 28 Apr 2012 17:40:21 -0000 1.179
25 @@ -1,6 +1,11 @@
26 # ChangeLog for app-arch/dpkg
27 # Copyright 1999-2012 Gentoo Foundation; Distributed under the GPL v2
28 -# $Header: /var/cvsroot/gentoo-x86/app-arch/dpkg/ChangeLog,v 1.178 2012/03/20 14:10:35 jer Exp $
29 +# $Header: /var/cvsroot/gentoo-x86/app-arch/dpkg/ChangeLog,v 1.179 2012/04/28 17:40:21 jer Exp $
30 +
31 +*dpkg-1.16.3 (28 Apr 2012)
32 +
33 + 28 Apr 2012; Jeroen Roovers <jer@g.o> +dpkg-1.16.3.ebuild:
34 + Version bump.
35
36 *dpkg-1.16.2 (20 Mar 2012)
37
38
39
40
41 1.1 app-arch/dpkg/dpkg-1.16.3.ebuild
42
43 file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/app-arch/dpkg/dpkg-1.16.3.ebuild?rev=1.1&view=markup
44 plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/app-arch/dpkg/dpkg-1.16.3.ebuild?rev=1.1&content-type=text/plain
45
46 Index: dpkg-1.16.3.ebuild
47 ===================================================================
48 # Copyright 1999-2012 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.3.ebuild,v 1.1 2012/04/28 17:40:21 jer Exp $
51
52 EAPI=4
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 sys-devel/flex
81 dev-util/pkgconfig
82 nls? ( app-text/po4a )
83 test? (
84 dev-perl/DateTime-Format-DateParse
85 dev-perl/IO-String
86 dev-perl/Test-Pod
87 )"
88 REQUIRED_USE="dselect? ( nls )"
89
90 src_prepare() {
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 econf \
110 ${myconf} \
111 $(use_enable dselect) \
112 $(use_enable unicode) \
113 $(use_with bzip2 bz2) \
114 $(use_with zlib) \
115 --disable-compiler-warnings \
116 --without-selinux \
117 --disable-start-stop-daemon
118 }
119
120 src_install() {
121 strip-linguas ${LANGS}
122 if [ -z "${LINGUAS}" ] ; then
123 LINGUAS=none
124 fi
125
126 emake DESTDIR="${D}" LINGUAS="${LINGUAS}" install || die "emake install failed"
127 rm "${ED}"/usr/sbin/install-info || die "rm install-info failed"
128 dodoc ChangeLog THANKS TODO
129 keepdir /usr/$(get_libdir)/db/methods/{mnt,floppy,disk}
130 keepdir /usr/$(get_libdir)/db/{alternatives,info,methods,parts,updates}
131 }