summaryrefslogtreecommitdiff
blob: 9dd67fa8342e4bea47308b933ef0925b8582e5f8 (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-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.1.30-r1.ebuild,v 1.18 2003/09/07 00:23:28 msterret 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 ~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

}