Lines 7-18
Link Here
|
7 |
DESCRIPTION="GNU Midnight Commander cli-based file manager" |
7 |
DESCRIPTION="GNU Midnight Commander cli-based file manager" |
8 |
HOMEPAGE="http://www.ibiblio.org/mc/" |
8 |
HOMEPAGE="http://www.ibiblio.org/mc/" |
9 |
SRC_URI="http://www.ibiblio.org/pub/Linux/utils/file/managers/${PN}/${P}.tar.gz |
9 |
SRC_URI="http://www.ibiblio.org/pub/Linux/utils/file/managers/${PN}/${P}.tar.gz |
10 |
http://www.spock.mga.com.pl/public/gentoo/${P}-sambalib-3.0.0.patch.bz2" |
10 |
http://www.spock.mga.com.pl/public/gentoo/${P}-sambalib-3.0.0.patch.bz2 |
|
|
11 |
7zip? ( Gentoo Mirror )" |
11 |
|
12 |
|
12 |
LICENSE="GPL-2" |
13 |
LICENSE="GPL-2" |
13 |
SLOT="0" |
14 |
SLOT="0" |
14 |
KEYWORDS="~ia64 x86 ppc sparc alpha ~mips hppa ~amd64 ~ppc64" |
15 |
KEYWORDS="~ia64 x86 ppc sparc alpha ~mips hppa ~amd64 ~ppc64" |
15 |
IUSE="gpm nls samba ncurses X slang unicode" |
16 |
IUSE="gpm nls samba ncurses X slang unicode 7zip" |
16 |
|
17 |
|
17 |
PROVIDE="virtual/editor" |
18 |
PROVIDE="virtual/editor" |
18 |
|
19 |
|
Lines 24-32
Link Here
|
24 |
slang? ( >=sys-libs/slang-1.4.9-r1 ) |
25 |
slang? ( >=sys-libs/slang-1.4.9-r1 ) |
25 |
samba? ( >=net-fs/samba-3.0.0 ) |
26 |
samba? ( >=net-fs/samba-3.0.0 ) |
26 |
unicode? ( >=sys-libs/slang-1.4.9-r1 ) |
27 |
unicode? ( >=sys-libs/slang-1.4.9-r1 ) |
27 |
X? ( virtual/x11 )" |
28 |
X? ( virtual/x11 ) |
|
|
29 |
7zip? ( app-arch/p7zip )" |
28 |
|
30 |
|
29 |
src_unpack() { |
31 |
src_unpack() { |
|
|
32 |
use 7zip && unpack u7z.zip |
30 |
unpack ${P}.tar.gz |
33 |
unpack ${P}.tar.gz |
31 |
cd ${S} |
34 |
cd ${S} |
32 |
|
35 |
|
Lines 42-47
Link Here
|
42 |
if use unicode && use slang; then |
45 |
if use unicode && use slang; then |
43 |
epatch ${FILESDIR}/${P}-utf8.patch.bz2 |
46 |
epatch ${FILESDIR}/${P}-utf8.patch.bz2 |
44 |
fi |
47 |
fi |
|
|
48 |
|
49 |
if use 7zip; then |
50 |
epatch ${FILESDIR}/${P}-7zip.patch |
51 |
fi |
45 |
} |
52 |
} |
46 |
|
53 |
|
47 |
src_compile() { |
54 |
src_compile() { |
Lines 83-88
Link Here
|
83 |
} |
90 |
} |
84 |
|
91 |
|
85 |
src_install() { |
92 |
src_install() { |
|
|
93 |
use 7zip && dobin ../u7z/u7z |
94 |
|
86 |
cat ${FILESDIR}/chdir-4.6.0.gentoo >>\ |
95 |
cat ${FILESDIR}/chdir-4.6.0.gentoo >>\ |
87 |
${S}/lib/mc-wrapper.sh |
96 |
${S}/lib/mc-wrapper.sh |
88 |
|
97 |
|