blob: 4f519cd721b69982c6ce8f51c6bf01d774276788 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
|
# Copyright 1999-2015 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
EAPI=5
inherit autotools eutils git-r3
DESCRIPTION="Parallel bzip2 utility"
HOMEPAGE="https://github.com/kjn/lbzip2/"
SRC_URI=""
EGIT_REPO_URI="git://github.com/kjn/lbzip2.git"
LICENSE="GPL-3"
SLOT="0"
KEYWORDS=""
IUSE="symlink"
RDEPEND=""
DEPEND="
dev-lang/perl
dev-libs/gnulib"
src_prepare() {
pushd src > /dev/null
epatch \
"${FILESDIR}"/0.23-s_isreg.patch
popd > /dev/null
sed \
-e '/^aclocal/d' \
-e '/autoconf/d' \
-e '/uatoheader/d' \
-e '/automake/d' \
-i build-aux/autogen.sh || die
bash build-aux/autogen.sh
eautoreconf
}
src_install() {
default
use symlink && dosym ${PN} /usr/bin/bzip2
}
|