/[gentoo-x86]/media-libs/svgalib/svgalib-1.4.3-r1.ebuild
Gentoo

Contents of /media-libs/svgalib/svgalib-1.4.3-r1.ebuild

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1.6 - (show annotations) (download)
Thu Dec 26 01:27:42 2002 UTC (16 years, 9 months ago) by azarah
Branch: MAIN
CVS Tags: HEAD
Changes since 1.5: +1 -1 lines
FILE REMOVED
new version

1 # Copyright 1999-2002 Gentoo Technologies, Inc.
2 # Distributed under the terms of the GNU General Public License v2
3 # $Header: /home/cvsroot/gentoo-x86/media-libs/svgalib/svgalib-1.4.3-r1.ebuild,v 1.5 2002/12/09 04:26:14 manson Exp $
4
5 S=${WORKDIR}/${P}
6 DESCRIPTION="a library for running svga graphics on the console"
7 SRC_URI="http://www.svgalib.org/${P}.tar.gz"
8 HOMEPAGE="http://www.svgalib.org/"
9
10 SLOT="0"
11 LICENSE="BSD"
12 KEYWORDS="x86 -ppc -sparc "
13
14 DEPEND="virtual/glibc"
15
16 src_unpack() {
17 unpack ${A}
18 cd ${S}
19 patch -p1 < ${FILESDIR}/${P}-gentoo.diff
20 }
21
22 src_compile() {
23
24 make OPTIMIZE="${CFLAGS}" static shared textutils lrmi utils || die
25 # Build the gl stuff tpp
26 make OPTIMIZE="${CFLAGS}" -C gl || die
27 make OPTIMIZE="${CFLAGS}" -C gl libvgagl.so.${PV} || die
28
29 cp Makefile Makefile.orig
30 sed 's/\(install: $(INSTALLAOUTLIB) \)installheaders \(.*\)/\1\2/g' \
31 Makefile.orig > Makefile
32 }
33
34 src_install () {
35
36 dodir /etc/{vga,svga} /usr/{include,lib,bin,share/man}
37 make TOPDIR=${D} OPTIMIZE="${CFLAGS}" install || die
38 insinto /usr/include
39 doins gl/vgagl.h
40 dolib.a gl/libvgagl.a
41 dolib.so gl/libvgagl.so.${PV}
42 dosym libvgagl.so.${PV} /usr/lib/libvgagl.so
43
44 insinto /usr/include
45 doins src/vga.h gl/vgagl.h src/mouse/vgamouse.h src/joystick/vgajoystick.h
46 doins src/keyboard/vgakeyboard.h
47
48 cd doc
49 dodoc 0-README CHANGES* DESIGN NEWS TODO
50 docinto txt
51 dodoc Driver-programming-HOWTO README.* add_driver svgalib.lsm
52
53 }

  ViewVC Help
Powered by ViewVC 1.1.20