summaryrefslogtreecommitdiff
blob: e3c06fdc0b4420f4598337abf33c59123f86824a (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
# Copyright 1999-2000 Gentoo Technologies, Inc.
# Distributed under the terms of the GNU General Public License, v2 or later
# Author Daniel Robbins <drobbins@gentoo.org>
# $Header: /var/cvsroot/gentoo-x86/x11-libs/openmotif/openmotif-2.1.30-r1.ebuild,v 1.1 2001/03/09 10:26:59 achim Exp $

A=openmotif-2.1.30-4_MLI.src.tar.gz
S=${WORKDIR}/motif
DESCRIPTION="Open Motif (Metrolink Bug Fix Release)"
SRC_URI="ftp://ftp.metrolink.com/pub/openmotif/2.1.30-4/"${A}
HOMEPAGE="http://www.metrolink.com/openmotif/"

DEPEND="virtual/glibc
	>=x11-base/xfree-4.0.1"

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}
  try make World
}

src_install() {                               

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

}