summaryrefslogtreecommitdiff
blob: 5b91c404342600878477726215988e957a469ab0 (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
# Copyright 1999-2002 Gentoo Technologies, Inc.
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/x11-libs/openmotif/openmotif-2.1.30-r1.ebuild,v 1.10 2002/11/11 16:28:43 wwoods Exp $

MY_P=${P}-4_MLI.src
S=${WORKDIR}/motif
DESCRIPTION="Open Motif (Metrolink Bug Fix Release)"
SRC_URI="ftp://ftp.metrolink.com/pub/openmotif/2.1.30-4/${MY_P}.tar.gz"
HOMEPAGE="http://www.metrolink.com/openmotif/"
LICENSE="MOTIF"
SLOT="0"
KEYWORDS="x86 ppc sparc sparc64 ~alpha"

DEPEND="virtual/glibc virtual/x11"

src_unpack() {
	unpack ${A}
	cp ${FILESDIR}/site.def ${S}/config/cf/
}

src_compile() { 
													
	mkdir -p imports/x11
	cd imports/x11
	ln -s /usr/X11R6/bin bin
	ln -s /usr/X11R6/include include
	ln -s /usr/X11R6/lib lib
	cd ${S}
	make World || die
}

src_install() {															 

	make DESTDIR=${D} VARDIR=${D}/var/X11/ install || die

}