Lines 1-4
Link Here
|
1 |
# Copyright 1999-2004 Gentoo Technologies, Inc. |
1 |
# Copyright 1999-2005 Gentoo Technologies, Inc. |
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: $ |
3 |
# $Header: $ |
4 |
|
4 |
|
Lines 12-34
Link Here
|
12 |
IUSE="nls" |
12 |
IUSE="nls" |
13 |
|
13 |
|
14 |
SLOT="0" |
14 |
SLOT="0" |
15 |
KEYWORDS="x86" |
15 |
KEYWORDS="x86 ~amd64" |
16 |
|
16 |
|
17 |
SRC_URI="http://download.berlios.de/dvdisaster/${P}.tgz" |
17 |
SRC_URI="http://download.berlios.de/dvdisaster/${P}.tbz" |
18 |
RESTRICT="nomirror" |
18 |
RESTRICT="nomirror" |
19 |
|
19 |
|
|
|
20 |
src_unpack() { |
21 |
# Portage does not recognize *.tbz files as *.tar.bz2 files, so |
22 |
# we have to unpack it ourselves. BUG? |
23 |
#unpack ${A} |
24 |
|
25 |
tar -xjf ${DISTDIR}/${A} |
26 |
} |
27 |
|
20 |
src_compile() { |
28 |
src_compile() { |
21 |
local myconf |
29 |
local myconf |
22 |
use nls && myconf="${myconf} --with-nls=yes" |
30 |
use nls && myconf="${myconf} --with-nls=yes" |
23 |
|
31 |
|
24 |
./configure ${myconf} || die |
32 |
econf ${myconf} || die |
25 |
emake -j1 || die |
33 |
emake || die |
26 |
} |
34 |
} |
27 |
|
35 |
|
28 |
src_install() { |
36 |
src_install() { |
29 |
|
|
|
30 |
# The install target in the supplied makefile is |
37 |
# The install target in the supplied makefile is |
31 |
# sub-optimal, so we do things by hand for now |
38 |
# sub-optimal, so we do things by hand for now |
|
|
39 |
|
32 |
into /usr |
40 |
into /usr |
33 |
|
41 |
|
34 |
dobin dvdisaster |
42 |
dobin dvdisaster |