blob: f9a5df12345147db46c510c3986da2637fce252e (
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
43
44
|
# Copyright 1999-2000 Gentoo Technologies, Inc.
# Distributed under the terms of the GNU General Public License, v2 or later
# $Header: /var/cvsroot/gentoo-x86/media-libs/libgii/libgii-20010313.ebuild,v 1.4 2002/07/11 06:30:39 drobbins Exp $
A=ggi-devel-${P}.tar.bz2
S=${WORKDIR}/degas/lib/libgii
DESCRIPTION="Fast and safe graphics and drivers for about any graphics card to the Linux kernel (sometimes)"
SRC_URI="ftp://ftp.ggi-project.org/pub/ggi/ggi-snapshots/${A}"
HOMEPAGE="http://www.ggi-project.org/"
DEPEND="virtual/glibc
X? ( virtual/x11 )"
src_compile() {
local myconf
if [ -z "`use X`" ]
then
myconf="--without-x --disable-x --disable-xwin"
fi
try ./configure --prefix=/usr --sysconfdir=/etc --mandir=/usr/share/man --host=${CHOST} $myconf
try make
}
src_install () {
try make DESTDIR=${D} install
rm -rf ${D}/usr/lib/*.la
cd ${D}/usr/share/man/man3
for i in *.3gii
do
mv ${i} ${i%.3gii}.3
done
cd ${S}
dodoc ChangeLog* FAQ NEWS README
docinto txt
dodoc doc/*.txt
docinto sgml
dodoc doc/docbook/*.sgml
}
|