Lines 2-7
Link Here
|
2 |
# Distributed under the terms of the GNU General Public License v2 |
2 |
# Distributed under the terms of the GNU General Public License v2 |
3 |
# $Header: /var/cvsroot/gentoo-x86/app-arch/lzma-utils/lzma-utils-4.32.5.ebuild,v 1.8 2008/04/03 18:19:14 armin76 Exp $ |
3 |
# $Header: /var/cvsroot/gentoo-x86/app-arch/lzma-utils/lzma-utils-4.32.5.ebuild,v 1.8 2008/04/03 18:19:14 armin76 Exp $ |
4 |
|
4 |
|
|
|
5 |
inherit eutils autotools |
6 |
|
5 |
DESCRIPTION="LZMA interface made easy" |
7 |
DESCRIPTION="LZMA interface made easy" |
6 |
HOMEPAGE="http://tukaani.org/lzma/" |
8 |
HOMEPAGE="http://tukaani.org/lzma/" |
7 |
SRC_URI="http://tukaani.org/lzma/lzma-${PV/_}.tar.gz" |
9 |
SRC_URI="http://tukaani.org/lzma/lzma-${PV/_}.tar.gz" |
Lines 9-20
Link Here
|
9 |
LICENSE="LGPL-2.1" |
11 |
LICENSE="LGPL-2.1" |
10 |
SLOT="0" |
12 |
SLOT="0" |
11 |
KEYWORDS="alpha amd64 arm hppa ia64 m68k ~mips ppc ppc64 s390 sh sparc ~sparc-fbsd x86 ~x86-fbsd" |
13 |
KEYWORDS="alpha amd64 arm hppa ia64 m68k ~mips ppc ppc64 s390 sh sparc ~sparc-fbsd x86 ~x86-fbsd" |
12 |
IUSE="" |
14 |
IUSE="cxx" |
13 |
|
15 |
|
14 |
RDEPEND="!app-arch/lzma" |
16 |
RDEPEND="!app-arch/lzma" |
15 |
|
17 |
|
16 |
S=${WORKDIR}/lzma-${PV/_} |
18 |
S=${WORKDIR}/lzma-${PV/_} |
17 |
|
19 |
|
|
|
20 |
src_unpack() { |
21 |
unpack ${A} |
22 |
cd "${S}" |
23 |
|
24 |
if ! use cxx; then |
25 |
epatch "${FILESDIR}/${P}-no-cxx.patch" |
26 |
eautoreconf |
27 |
fi |
28 |
} |
29 |
|
18 |
src_install() { |
30 |
src_install() { |
19 |
emake install DESTDIR="${D}" || die |
31 |
emake install DESTDIR="${D}" || die |
20 |
dodoc AUTHORS ChangeLog NEWS README THANKS |
32 |
dodoc AUTHORS ChangeLog NEWS README THANKS |