|
Lines 6-12
Link Here
|
| 6 |
|
6 |
|
| 7 |
DESCRIPTION="OpenDict is a free cross-platform dictionary program." |
7 |
DESCRIPTION="OpenDict is a free cross-platform dictionary program." |
| 8 |
HOMEPAGE="http://opendict.sourceforge.net/" |
8 |
HOMEPAGE="http://opendict.sourceforge.net/" |
| 9 |
SRC_URI="mirror://sourceforge/opendict/OpenDict-${PV}.tar.bz2" |
9 |
SRC_URI="mirror://sourceforge/opendict/OpenDict-${PV}.tar.gz" |
| 10 |
LICENSE="GPL-2" |
10 |
LICENSE="GPL-2" |
| 11 |
SLOT="0" |
11 |
SLOT="0" |
| 12 |
KEYWORDS="~x86 ~ppc" |
12 |
KEYWORDS="~x86 ~ppc" |
|
Lines 19-25
Link Here
|
| 19 |
unpack ${A} |
19 |
unpack ${A} |
| 20 |
cd ${S} |
20 |
cd ${S} |
| 21 |
rm Makefile |
21 |
rm Makefile |
| 22 |
epatch ${FILESDIR}/${P}-gentoo-wxversion.patch |
|
|
| 23 |
} |
22 |
} |
| 24 |
|
23 |
|
| 25 |
src_install() { |
24 |
src_install() { |
|
Lines 38-44
Link Here
|
| 38 |
/usr/bin/opendict || die "dosym failed" |
37 |
/usr/bin/opendict || die "dosym failed" |
| 39 |
|
38 |
|
| 40 |
cp misc/opendict.desktop ${D}/usr/share/applications/ |
39 |
cp misc/opendict.desktop ${D}/usr/share/applications/ |
| 41 |
dodoc README.txt TODO.txt doc/OpenDict_plugin_dev.txt |
40 |
dodoc ChangeLog README.txt TODO.txt doc/Plugin-HOWTO.html |
| 42 |
} |
41 |
} |
| 43 |
|
42 |
|
| 44 |
pkg_postinst() { |
43 |
pkg_postinst() { |