|
Lines 4-10
Link Here
|
| 4 |
|
4 |
|
| 5 |
inherit eutils fdo-mime alternatives |
5 |
inherit eutils fdo-mime alternatives |
| 6 |
|
6 |
|
| 7 |
S=${WORKDIR}/${P}/abi |
7 |
S=${WORKDIR}/${P} |
| 8 |
|
8 |
|
| 9 |
DESCRIPTION="Fully featured yet light and fast cross platform word processor" |
9 |
DESCRIPTION="Fully featured yet light and fast cross platform word processor" |
| 10 |
HOMEPAGE="http://www.abisource.com/" |
10 |
HOMEPAGE="http://www.abisource.com/" |
|
Lines 12-18
Link Here
|
| 12 |
SRC_URI="http://www.abisource.com/downloads/${PN}/${PV}/source/${P}.tar.bz2" |
12 |
SRC_URI="http://www.abisource.com/downloads/${PN}/${PV}/source/${P}.tar.bz2" |
| 13 |
|
13 |
|
| 14 |
KEYWORDS="alpha amd64 hppa ~ia64 ppc ppc64 sparc x86" |
14 |
KEYWORDS="alpha amd64 hppa ~ia64 ppc ppc64 sparc x86" |
| 15 |
IUSE="debug gnome spell xml" |
15 |
IUSE="debug doc gnome spell xml" |
| 16 |
|
16 |
|
| 17 |
LICENSE="GPL-2" |
17 |
LICENSE="GPL-2" |
| 18 |
SLOT="2" |
18 |
SLOT="2" |
|
Lines 42-47
Link Here
|
| 42 |
>=dev-util/pkgconfig-0.9" |
42 |
>=dev-util/pkgconfig-0.9" |
| 43 |
|
43 |
|
| 44 |
src_compile() { |
44 |
src_compile() { |
|
|
45 |
cd ${S}/abi |
| 46 |
|
| 45 |
# this is a hack since I don't want to go hack in the gnome-vfs |
47 |
# this is a hack since I don't want to go hack in the gnome-vfs |
| 46 |
# headerfiles. The issue is about gnome-vfs containing "long long" |
48 |
# headerfiles. The issue is about gnome-vfs containing "long long" |
| 47 |
# which makes gcc 3.3.1 balk |
49 |
# which makes gcc 3.3.1 balk |
|
Lines 62-67
Link Here
|
| 62 |
} |
64 |
} |
| 63 |
|
65 |
|
| 64 |
src_install() { |
66 |
src_install() { |
|
|
67 |
cd ${S}/abi |
| 68 |
|
| 65 |
dodir /usr/{bin,lib} |
69 |
dodir /usr/{bin,lib} |
| 66 |
|
70 |
|
| 67 |
make DESTDIR="${D}" install || die "Installation failed" |
71 |
make DESTDIR="${D}" install || die "Installation failed" |
|
Lines 73-78
Link Here
|
| 73 |
dosym AbiWord-2.4 /usr/bin/abiword-2.4 |
77 |
dosym AbiWord-2.4 /usr/bin/abiword-2.4 |
| 74 |
|
78 |
|
| 75 |
dodoc *.TXT docs/build/BUILD.TXT user/wp/readme.txt |
79 |
dodoc *.TXT docs/build/BUILD.TXT user/wp/readme.txt |
|
|
80 |
|
| 81 |
cd ${S}/abiword-docs |
| 82 |
if use doc; then |
| 83 |
dodoc Manual/en/Abiword_Manual.abw |
| 84 |
dodoc Tutorials/*/*/* |
| 85 |
fi |
| 86 |
doman man/abiword.1 |
| 87 |
|
| 88 |
cd ABW |
| 89 |
HYPHENLINGUAS=$(echo $LINGUAS | sed -e 's/_/-/') |
| 90 |
for dir in $HYPHENLINGUAS; do |
| 91 |
if [[ -d $dir ]]; then |
| 92 |
dodoc $dir/*/* |
| 93 |
fi |
| 94 |
done |
| 76 |
} |
95 |
} |
| 77 |
|
96 |
|
| 78 |
pkg_postinst() { |
97 |
pkg_postinst() { |