summaryrefslogtreecommitdiff
blob: 707d1315b8ffe091abc4b17c706ba38e3ad7c1db (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
# Copyright 1999-2002 Gentoo Technologies, Inc.
# Distributed under the terms of the GNU General Public License, v2 or later
# $Header: /var/cvsroot/gentoo-x86/x11-libs/xforms/xforms-089-r1.ebuild,v 1.5 2002/07/09 10:53:21 aliz Exp $

MY_P="bxform-${PV}-glibc2.1"
MY_D="linux-i386/elf"

# for unkown reasons ${ARCH} will just _not_ work here
# even though it returns "ppc" (as does `arch`)
if [ `arch` = "ppc" ] ; then
        MY_D="linuxppc"
	MY_P=${MY_P}"-ppc"
fi

S=${WORKDIR}/${PN}
DESCRIPTION="A GUI Toolkit based on Xlib"
SRC_URI="ftp://ncmir.ucsd.edu/pub/xforms/${MY_D}/${MY_P}.tgz"
HOMEPAGE="http://world.std.com/~xforms/"
SLOT="0"
DEPEND="virtual/x11"
RDEPEND=""
LICENSE="GPL-2"
KEYWORDS="x86"

src_compile() {
	make || die
}

src_install () {

	into /usr/X11R6
	dolib FORMS/libforms.{a,so.*}
	dosym /usr/X11R6/lib/libforms.so.0.89 /usr/X11R6/lib/libforms.so
	insinto /usr/X11R6/include
	doins FORMS/forms.h
	doman FORMS/xforms.5
}