blob: fd68bd3649ef894e6b46c5bd7ac9779f0a752901 (
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
|
# Copyright 1999-2003 Gentoo Technologies, Inc.
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/x11-libs/openmotif/openmotif-2.2.2-r1.ebuild,v 1.6 2003/04/30 09:38:32 liquidx Exp $
S=${WORKDIR}/openMotif-2.2.2
DESCRIPTION="Open Motif"
SRC_URI="ftp://ftp.sgi.com/other/motifzone/2.2/src/openMotif-2.2.2.tar.gz"
HOMEPAGE="http://www.motifzone.org/"
PROVIDE="virtual/motif"
LICENSE="MOTIF"
SLOT="0"
KEYWORDS="x86 ppc -sparc "
DEPEND="virtual/glibc
virtual/x11"
src_unpack() {
unpack ${A}
cd ${S}
patch -p1 < ${FILESDIR}/animate-demo.diff || die "patch failed"
patch -p1 < ${FILESDIR}/include-order.diff || die "patch failed"
}
src_compile() {
# get around some LANG problems in make (#15119)
unset LANG
./configure \
--prefix=/usr/X11R6 \
--sysconfdir=/etc/X11 \
--with-x \
--with-gnu-ld \
--host=${CHOST} || die "configuration failed"
make || die "make failed"
}
src_install() {
make DESTDIR=${D} VARDIR=${D}/var/X11/ install || die "install failed"
}
|