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: lbzip2-0.20.ebuild metadata.xml ChangeLog
Date: Tue, 09 Feb 2010 20:19:51
Message-Id: E1NewYn-0004tf-Ee@stork.gentoo.org
1 jlec 10/02/09 20:19:49
2
3 Added: lbzip2-0.20.ebuild metadata.xml ChangeLog
4 Log:
5 Added on request of bug 264002, thanks Daniel Lin for initial ebuild
6 (Portage version: 2.2_rc62/cvs/Linux x86_64)
7
8 Revision Changes Path
9 1.1 app-arch/lbzip2/lbzip2-0.20.ebuild
10
11 file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/app-arch/lbzip2/lbzip2-0.20.ebuild?rev=1.1&view=markup
12 plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/app-arch/lbzip2/lbzip2-0.20.ebuild?rev=1.1&content-type=text/plain
13
14 Index: lbzip2-0.20.ebuild
15 ===================================================================
16 # Copyright 1999-2010 Gentoo Foundation
17 # Distributed under the terms of the GNU General Public License v2
18 # $Header: /var/cvsroot/gentoo-x86/app-arch/lbzip2/lbzip2-0.20.ebuild,v 1.1 2010/02/09 20:19:48 jlec Exp $
19
20 EAPI="3"
21
22 inherit eutils flag-o-matic toolchain-funcs
23
24 DESCRIPTION="Pthreads-based parallel bzip2/bunzip2 filter, passable to GNU tar"
25 HOMEPAGE="http://lacos.hu/"
26 SRC_URI="http://lacos.web.elte.hu/pub/${PN}/${P}.tar.gz"
27
28 LICENSE="GPL-2"
29 SLOT="0"
30 KEYWORDS="~amd64 ~x86"
31 IUSE="symlink test"
32
33 RDEPEND="app-arch/bzip2"
34 DEPEND="${REDEPEND}
35 test? (
36 app-shells/dash
37 sys-process/time
38 )"
39
40 S=${WORKDIR}/${PN}
41
42 src_prepare() {
43 epatch "${FILESDIR}"/${PV}-Makefile.patch
44 }
45
46 src_compile() {
47 append-lfs-flags
48 emake CC=$(tc-getCC) || die "emake failed"
49 }
50
51 src_test() {
52 if [ -t 0 ] || return; then
53 rm -rf "${T}/scratch" "${T}/results" "${T}/rnd"
54 hexdump -n 10485760 /dev/urandom > "${T}/rnd"
55 emake -j1 SHELL="${EPREFIX}"/bin/dash PATH="${S}:${PATH}" TESTFILE="${T}/rnd" check \
56 || die "make check failed"
57 else
58 ewarn "make check must be run attached to a terminal"
59 fi
60 }
61
62 src_install() {
63 dobin ${PN} || die "Installation of ${PN} failed"
64 dodoc ChangeLog README || die "no docs"
65 doman ${PN}.1 || die "no man"
66 insinto /usr/share/${PN}
67 doins corr-perf.sh malloc_trace.pl || die
68
69 if use symlink; then
70 dosym /usr/bin/${PN} /usr/bin/gzip || die
71 dosym /usr/bin/un${PN} /usr/bin/gunzip || die
72 fi
73 }
74
75
76
77 1.1 app-arch/lbzip2/metadata.xml
78
79 file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/app-arch/lbzip2/metadata.xml?rev=1.1&view=markup
80 plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/app-arch/lbzip2/metadata.xml?rev=1.1&content-type=text/plain
81
82 Index: metadata.xml
83 ===================================================================
84 <?xml version="1.0" encoding="UTF-8"?>
85 <!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
86 <pkgmetadata>
87 <herd>no-herd</herd>
88 <maintainer>
89 <email>jlec@g.o</email>
90 </maintainer>
91 <longdescription lang="en">
92 A parallel implementation of bzip2 for modern
93 multi-processor, multi-core machines.
94 </longdescription>
95 </pkgmetadata>
96
97
98
99 1.1 app-arch/lbzip2/ChangeLog
100
101 file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/app-arch/lbzip2/ChangeLog?rev=1.1&view=markup
102 plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/app-arch/lbzip2/ChangeLog?rev=1.1&content-type=text/plain
103
104 Index: ChangeLog
105 ===================================================================
106 # ChangeLog for app-arch/lbzip2
107 # Copyright 1999-2010 Gentoo Foundation; Distributed under the GPL v2
108 # $Header: /var/cvsroot/gentoo-x86/app-arch/lbzip2/ChangeLog,v 1.1 2010/02/09 20:19:48 jlec Exp $
109
110 *lbzip2-0.20 (09 Feb 2010)
111
112 09 Feb 2010; Justin Lecher (jlec) <jlec@g.o>
113 +files/0.20-Makefile.patch, +lbzip2-0.20.ebuild, +metadata.xml:
114 Added on request of bug 264002
115 thanks Daniel Lin for initial ebuild