# 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.8 2003/05/09 19:19:06 taviso 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 alpha" 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" }