blob: 8141b84ceb0220ca16364065a90870da4f8810c0 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
|
# Copyright 1999-2000 Gentoo Technologies, Inc.
# Distributed under the terms of the GNU General Public License, v2 or later
# Author Achim Gottinger <achim@gentoo.org>
# $Header: /var/cvsroot/gentoo-x86/app-office/abiword/abiword-0.7.12.ebuild,v 1.1 2000/12/25 16:29:30 achim Exp $
A="abi-${PV}.tar.gz abidistfiles.tar.gz expat.tar.gz
unixfonts.tar.gz wv.tar.gz"
S=${WORKDIR}/abi-${PV}
DESCRIPTION="Framework for creating database applications"
SRC_URI="http://download.abisource.com/releases/${PV}/src/abi-${PV}.tar.gz
http://download.abisource.com/releases/${PV}/src/abidistfiles.tar.gz
http://download.abisource.com/releases/${PV}/src/expat.tar.gz
http://download.abisource.com/releases/${PV}/src/unixfonts.tar.gz
http://download.abisource.com/releases/${PV}/src/wv.tar.gz"
HOMEPAGE="http://www.gnome.org/gnome-office/abiword.shtml/"
DEPEND=">=sys-libs/glibc-2.1.3
>=sys-devel/gcc-2.95.2
>=media-libs/freetype-1.3.1
>=media-libs/libpng-1.0.7
>=dev-libs/glib-1.2.8
>=x11-libs/gtk+-1.2.8
>=x11-base/xfree-4.0.1"
src_unpack() {
unpack ${A}
cd ${S}
}
src_compile() {
cd ${S}
try make prefix=/opt/gnome/ UNIX_CAN_BUILD_STATIC=0
}
src_install() {
cd ${S}
try make prefix=${D}/opt/gnome UNIX_CAN_BUILD_STATIC=0 install
cp ${D}/opt/gnome/AbiSuite/bin/AbiWord AbiWord.orig
sed -e "s:${D}::" AbiWord.orig > ${D}/opt/gnome/AbiSuite/bin/AbiWord
cd ${D}/opt/gnome/bin
rm -f abiword
rm -f AbiWord
ln -s ../AbiSuite/bin/AbiWord AbiWord
ln -s ../AbiSuite/bin/AbiWord abiword
}
|