Go to:
Gentoo Home
Documentation
Forums
Lists
Bugs
Planet
Store
Wiki
Get Gentoo!
Gentoo's Bugzilla – Attachment 223837 Details for
Bug 309683
app-arch/lbzip2 patch to act as bzip2 replacement
Home
|
New
–
[Ex]
|
Browse
|
Search
|
Privacy Policy
|
[?]
|
Reports
|
Requests
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
ebuild based on that by Justin (sorry for small caps before ;-)
lbzip2-0.23-r1.ebuild (text/plain), 1.60 KB, created by
Jan Psota
on 2010-03-16 01:59:34 UTC
(
hide
)
Description:
ebuild based on that by Justin (sorry for small caps before ;-)
Filename:
MIME Type:
Creator:
Jan Psota
Created:
2010-03-16 01:59:34 UTC
Size:
1.60 KB
patch
obsolete
># Copyright 1999-2010 Gentoo Foundation ># Distributed under the terms of the GNU General Public License v2 ># $Header: /var/cvsroot/gentoo-x86/app-arch/lbzip2/lbzip2-0.23.ebuild,v 1.1 2010/03/04 07:17:27 jlec Exp $ > >EAPI="3" > >inherit eutils flag-o-matic toolchain-funcs > >DESCRIPTION="Pthreads-based parallel bzip2/bunzip2 filter, passable to GNU tar" >HOMEPAGE="http://lacos.hu/" >SRC_URI="http://lacos.web.elte.hu/pub/${PN}/${P}.tar.gz" > >LICENSE="GPL-2" >SLOT="0" >KEYWORDS="~amd64 ~x86" >IUSE="+symlink test" > >RDEPEND="app-arch/bzip2" >DEPEND="${REDEPEND} > test? ( > app-shells/dash > sys-process/time > )" > >S=${WORKDIR}/${PN} > >src_prepare() { > epatch "${FILESDIR}"/s_isreg.patch > epatch "${FILESDIR}"/0.22-Makefile.patch >} > >src_compile() { > append-lfs-flags > emake CC=$(tc-getCC) || die "emake failed" >} > >src_test() { > if [ -t 0 ] || return; then > rm -rf "${T}/scratch" "${T}/results" "${T}/rnd" > hexdump -n 10485760 /dev/urandom > "${T}/rnd" > emake -j1 SHELL="${EPREFIX}"/bin/dash PATH="${S}:${PATH}" TESTFILE="${T}/rnd" check \ > || die "make check failed" > else > ewarn "make check must be run attached to a terminal" > fi >} > >src_install() { > dobin ${PN} || die "Installation of ${PN} failed" > dodoc ChangeLog README || die "no docs" > doman ${PN}.1 || die "no man" > insinto /usr/share/${PN} > doins corr-perf.sh malloc_trace.pl || die >} > >pkg_postinst() { > if use symlink; then > cd /bin || die > [ -L bzip2 -o -x bzip2.orig ] && return 0 > mv -fv bzip2{,.orig} \ > && ln -sv ..${DESTTREE}/bin/${PN} bzip2 || die > fi >} > >pkg_prerm() { > cd /bin || die > if [ -L bzip2 -a -x bzip2.orig ]; then > rm -v bzip2 && mv -v bzip2{.orig,} || die > fi >}
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Raw
Actions:
View
Attachments on
bug 309683
: 223837 |
223839
|
224959