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

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

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1.5 - (show annotations) (download)
Tue Jul 23 00:49:50 2002 UTC (17 years, 3 months ago) by seemant
Branch: MAIN
CVS Tags: HEAD
Changes since 1.4: +1 -1 lines
FILE REMOVED
repoman'd

1 # Copyright 1999-2002 Gentoo Technologies, Inc.
2 # Distributed under the terms of the GNU General Public License, v2 or later
3 # $Header: /home/cvsroot/gentoo-x86/media-libs/svgalib/svgalib-1.4.2-r1.ebuild,v 1.4 2002/07/11 06:30:40 drobbins 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 DEPEND="virtual/glibc"
11
12 src_unpack() {
13 unpack ${A}
14 cd ${S}
15 patch -p1 < ${FILESDIR}/${PN}-${PV}-gentoo.diff
16 }
17
18 src_compile() {
19
20 make OPTIMIZE="${CFLAGS}" static || die
21 make OPTIMIZE="${CFLAGS}" shared || die
22 make OPTIMIZE="${CFLAGS}" textutils || die
23 make OPTIMIZE="${CFLAGS}" lrmi || die
24 make OPTIMIZE="${CFLAGS}" 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
30 src_install () {
31
32 dodir /etc/svga /usr/{include,lib,bin,share/man}
33 make TOPDIR=${D} OPTIMIZE="${CFLAGS}" install || die
34 insinto /usr/include
35 doins gl/vgagl.h
36 dolib.a gl/libvgagl.a
37 dolib.so gl/libvgagl.so.${PV}
38 dosym libvgagl.so.${PV} /usr/lib/libvgagl.so
39
40 cd doc
41 dodoc 0-README CHANGES* DESIGN NEWS TODO
42 docinto txt
43 dodoc Driver-programming-HOWTO README.* add_driver svgalib.lsm
44
45 }

  ViewVC Help
Powered by ViewVC 1.1.20