blob: 97bceeb525ef5b4efb532fe6ea27821e2f6ee0c1 (
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
53
54
55
56
57
58
59
60
61
62
63
64
65
66
|
# 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/media-gfx/gimp/gimp-1.2.1-r1.ebuild,v 1.1 2001/06/14 18:11:40 hallski Exp $
A=${P}.tar.bz2
S=${WORKDIR}/${P}
DESCRIPTION="GIMP"
SRC_URI="ftp://ftp.insync.net/pub/mirrors/ftp.gimp.org/gimp/v1.2/v${PV}/"${A}
HOMEPAGE="http://www.gimp.org"
DEPEND="nls? ( sys-devel/gettext )
>=x11-libs/gtk+-1.2.8
>=media-libs/mpeg-lib-1.3.1
aalib? ( >=media-libs/aalib-1.2 )
perl? ( >=dev-perl/PDL-2.2.1
>=dev-perl/Parse-RecDescent-1.80 )
python? ( >=dev-lang/python-2.0 )"
RDEPEND=">=x11-libs/gtk+-1.2.8
aalib? ( >=media-libs/aalib-1.2 )
perl? ( >=dev-perl/PDL-2.2.1
>=dev-perl/Parse-RecDescent-1.80 )
python? ( >=dev-lang/python-2.0 )"
src_compile() {
local myconf
if [ -z "`use nls`" ]
then
myconf="--disable-nls"
fi
if [ -z "`use perl`" ]
then
myconf="$myconf --disable-perl"
fi
if [ "`use python`" ]
then
myconf="$myconf --enable-python"
fi
try ./configure --host=${CHOST} --prefix=/usr/X11R6 --sysconfdir=/etc --with-mp ${myconf}
try make # Doesn't work with -j 4 (hallski)
}
src_install() {
dodir /usr/X11R6/lib/gimp/1.2/plug-ins
try make prefix=${D}/usr/X11R6 gimpsysconfdir=${D}/etc/gimp/1.2 \
mandir=${D}/usr/X11R6/man PREFIX=${D}/usr install
preplib /usr/X11R6
dodoc AUTHORS COPYING ChangeLog* *MAINTAINERS README* TODO
dodoc docs/*.txt docs/*.ps docs/Wilber* docs/quick_reference.tar.gz
docinto html/libgimp
dodoc devel-docs/libgimp/html/*.html
docinto devel
dodoc devel-docs/*.txt
}
|