Gentoo Archives: gentoo-commits

From: "Justin Lecher (jlec)" <jlec@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] gentoo-x86 commit in app-arch/lbzip2: ChangeLog lbzip2-0.22.ebuild lbzip2-0.21.ebuild
Date: Fri, 19 Feb 2010 09:20:05
Message-Id: E1NiP1n-00066L-Uk@stork.gentoo.org
1 jlec 10/02/19 09:20:03
2
3 Modified: ChangeLog
4 Added: lbzip2-0.22.ebuild
5 Removed: lbzip2-0.21.ebuild
6 Log:
7 Version Bump
8 (Portage version: 2.2_rc62/cvs/Linux i686)
9
10 Revision Changes Path
11 1.3 app-arch/lbzip2/ChangeLog
12
13 file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/app-arch/lbzip2/ChangeLog?rev=1.3&view=markup
14 plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/app-arch/lbzip2/ChangeLog?rev=1.3&content-type=text/plain
15 diff : http://sources.gentoo.org/viewcvs.py/gentoo-x86/app-arch/lbzip2/ChangeLog?r1=1.2&r2=1.3
16
17 Index: ChangeLog
18 ===================================================================
19 RCS file: /var/cvsroot/gentoo-x86/app-arch/lbzip2/ChangeLog,v
20 retrieving revision 1.2
21 retrieving revision 1.3
22 diff -u -r1.2 -r1.3
23 --- ChangeLog 18 Feb 2010 07:45:41 -0000 1.2
24 +++ ChangeLog 19 Feb 2010 09:20:03 -0000 1.3
25 @@ -1,6 +1,13 @@
26 # ChangeLog for app-arch/lbzip2
27 # Copyright 1999-2010 Gentoo Foundation; Distributed under the GPL v2
28 -# $Header: /var/cvsroot/gentoo-x86/app-arch/lbzip2/ChangeLog,v 1.2 2010/02/18 07:45:41 jlec Exp $
29 +# $Header: /var/cvsroot/gentoo-x86/app-arch/lbzip2/ChangeLog,v 1.3 2010/02/19 09:20:03 jlec Exp $
30 +
31 +*lbzip2-0.22 (19 Feb 2010)
32 +
33 + 19 Feb 2010; Justin Lecher (jlec) <jlec@×××××××××.net>
34 + -files/0.21-Makefile.patch, -lbzip2-0.21.ebuild,
35 + +files/0.22-Makefile.patch, +lbzip2-0.22.ebuild:
36 + Version Bump
37
38 *lbzip2-0.21 (18 Feb 2010)
39
40
41
42
43 1.1 app-arch/lbzip2/lbzip2-0.22.ebuild
44
45 file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/app-arch/lbzip2/lbzip2-0.22.ebuild?rev=1.1&view=markup
46 plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/app-arch/lbzip2/lbzip2-0.22.ebuild?rev=1.1&content-type=text/plain
47
48 Index: lbzip2-0.22.ebuild
49 ===================================================================
50 # Copyright 1999-2010 Gentoo Foundation
51 # Distributed under the terms of the GNU General Public License v2
52 # $Header: /var/cvsroot/gentoo-x86/app-arch/lbzip2/lbzip2-0.22.ebuild,v 1.1 2010/02/19 09:20:03 jlec Exp $
53
54 EAPI="3"
55
56 inherit eutils flag-o-matic toolchain-funcs
57
58 DESCRIPTION="Pthreads-based parallel bzip2/bunzip2 filter, passable to GNU tar"
59 HOMEPAGE="http://lacos.hu/"
60 SRC_URI="http://lacos.web.elte.hu/pub/${PN}/${P}.tar.gz"
61
62 LICENSE="GPL-2"
63 SLOT="0"
64 KEYWORDS="~amd64 ~x86"
65 IUSE="symlink test"
66
67 RDEPEND="app-arch/bzip2"
68 DEPEND="${REDEPEND}
69 test? (
70 app-shells/dash
71 sys-process/time
72 )"
73
74 S=${WORKDIR}/${PN}
75
76 src_prepare() {
77 epatch "${FILESDIR}"/${PV}-Makefile.patch
78 }
79
80 src_compile() {
81 append-lfs-flags
82 emake CC=$(tc-getCC) || die "emake failed"
83 }
84
85 src_test() {
86 if [ -t 0 ] || return; then
87 rm -rf "${T}/scratch" "${T}/results" "${T}/rnd"
88 hexdump -n 10485760 /dev/urandom > "${T}/rnd"
89 emake -j1 SHELL="${EPREFIX}"/bin/dash PATH="${S}:${PATH}" TESTFILE="${T}/rnd" check \
90 || die "make check failed"
91 else
92 ewarn "make check must be run attached to a terminal"
93 fi
94 }
95
96 src_install() {
97 dobin ${PN} || die "Installation of ${PN} failed"
98 dodoc ChangeLog README || die "no docs"
99 doman ${PN}.1 || die "no man"
100 insinto /usr/share/${PN}
101 doins corr-perf.sh malloc_trace.pl || die
102
103 if use symlink; then
104 dosym ${PN} /usr/bin/gzip || die
105 dosym un${PN} /usr/bin/gunzip || die
106 fi
107 }