diff options
author | Martin Schlemmer <azarah@gentoo.org> | 2002-12-03 18:30:29 +0000 |
---|---|---|
committer | Martin Schlemmer <azarah@gentoo.org> | 2002-12-03 18:30:29 +0000 |
commit | 336223b7a1f394e8943b5c2162f2955fdfa12580 (patch) | |
tree | 518e3ca44b543796d3653c9111f92a35331b5689 /media-libs | |
parent | re-adding this version for stable PPC KEYWORD (diff) | |
download | gentoo-2-336223b7a1f394e8943b5c2162f2955fdfa12580.tar.gz gentoo-2-336223b7a1f394e8943b5c2162f2955fdfa12580.tar.bz2 gentoo-2-336223b7a1f394e8943b5c2162f2955fdfa12580.zip |
bugfix
Diffstat (limited to 'media-libs')
-rw-r--r-- | media-libs/svgalib/ChangeLog | 10 | ||||
-rw-r--r-- | media-libs/svgalib/files/digest-svgalib-1.4.3-r3 | 1 | ||||
-rw-r--r-- | media-libs/svgalib/files/svgalib-1.4.3-gentoo.diff | 17 | ||||
-rw-r--r-- | media-libs/svgalib/svgalib-1.4.3-r3.ebuild | 77 |
4 files changed, 104 insertions, 1 deletions
diff --git a/media-libs/svgalib/ChangeLog b/media-libs/svgalib/ChangeLog index da56b2b3c609..1cdbdb49864b 100644 --- a/media-libs/svgalib/ChangeLog +++ b/media-libs/svgalib/ChangeLog @@ -1,6 +1,14 @@ # ChangeLog for media-libs/svgalib # Copyright 2002 Gentoo Technologies, Inc.; Distributed under the GPL -# $Header: /var/cvsroot/gentoo-x86/media-libs/svgalib/ChangeLog,v 1.5 2002/11/20 08:38:41 azarah Exp $ +# $Header: /var/cvsroot/gentoo-x86/media-libs/svgalib/ChangeLog,v 1.6 2002/12/03 18:30:29 azarah Exp $ + +*svgalib-1.4.3-r3 (03 Dec 2002) + + 03 Dec 2002; Martin Schlemmer <azarah@gentoo.org> svgalib-1.4.3-r3.ebuild : + Add preplib to src_install() to fix bug #10383. + + 21 Nov 2002; Martin Schlemmer <azarah@gentoo.org> svgalib-1.9.16.ebuild : + Add missing 'dodir /etc/modules.d'. *svgalib-1.9.16 (20 Nov 2002) diff --git a/media-libs/svgalib/files/digest-svgalib-1.4.3-r3 b/media-libs/svgalib/files/digest-svgalib-1.4.3-r3 new file mode 100644 index 000000000000..0d27a405e4c3 --- /dev/null +++ b/media-libs/svgalib/files/digest-svgalib-1.4.3-r3 @@ -0,0 +1 @@ +MD5 7d2778e3beebc07dd7c74668f6887c6f svgalib-1.4.3.tar.gz 840282 diff --git a/media-libs/svgalib/files/svgalib-1.4.3-gentoo.diff b/media-libs/svgalib/files/svgalib-1.4.3-gentoo.diff index 40ba6a21ff6e..2a77705dd4a9 100644 --- a/media-libs/svgalib/files/svgalib-1.4.3-gentoo.diff +++ b/media-libs/svgalib/files/svgalib-1.4.3-gentoo.diff @@ -36,6 +36,23 @@ # include a dependency file if one exists --- svgalib-1.4.3.orig/Makefile Wed Apr 18 10:35:51 2001 +++ svgalib-1.4.3/Makefile Thu Jun 28 10:25:12 2001 +@@ -109,11 +109,11 @@ + .PHONY: indent-gnu configaout + + installheaders: +- @echo Installing header files in $(includedir). +- @if [ -f /usr/include/vga.h ]; then \ +- rm -f /usr/include/vga.h /usr/include/vgagl.h; \ +- echo Old header files in /usr/include removed.; \ +- fi ++# @echo Installing header files in $(includedir). ++# @if [ -f /usr/include/vga.h ]; then \ ++# rm -f /usr/include/vga.h /usr/include/vgagl.h; \ ++# echo Old header files in /usr/include removed.; \ ++# fi + mkdir -p $(includedir) + @cp $(srcdir)/src/vga.h $(includedir)/vga.h + @chmod a+r $(includedir)/vga.h @@ -134,11 +134,11 @@ chmod a+r $(libdir)/$$foo; \ done diff --git a/media-libs/svgalib/svgalib-1.4.3-r3.ebuild b/media-libs/svgalib/svgalib-1.4.3-r3.ebuild new file mode 100644 index 000000000000..90cd449a2186 --- /dev/null +++ b/media-libs/svgalib/svgalib-1.4.3-r3.ebuild @@ -0,0 +1,77 @@ +# Copyright 1999-2002 Gentoo Technologies, Inc. +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/media-libs/svgalib/svgalib-1.4.3-r3.ebuild,v 1.1 2002/12/03 18:30:29 azarah Exp $ + +IUSE="" + +inherit eutils + +S="${WORKDIR}/${P}" +DESCRIPTION="A library for running svga graphics on the console" +SRC_URI="http://www.svgalib.org/${P}.tar.gz" +HOMEPAGE="http://www.svgalib.org/" + +LICENSE="BSD" +SLOT="0" +KEYWORDS="x86 -ppc -sparc -sparc64" + +DEPEND="virtual/glibc" + + +src_unpack() { + + unpack ${A} + + cd ${S} + epatch ${FILESDIR}/${P}-gentoo.diff +} + +src_compile() { + + make OPTIMIZE="${CFLAGS}" static shared textutils lrmi utils || die + # Build the gl stuff tpp + make OPTIMIZE="${CFLAGS}" -C gl || die + make OPTIMIZE="${CFLAGS}" -C gl libvgagl.so.${PV} || die + + make OPTIMIZE="${CFLAGS}" LDFLAGS='-L ../sharedlib' demoprogs || die + + cp Makefile Makefile.orig + sed 's/\(install: $(INSTALLAOUTLIB) \)installheaders \(.*\)/\1\2/g' \ + Makefile.orig > Makefile +} + +src_install() { + + dodir /etc/{vga,svga} /usr/{include,lib,bin,share/man} + make TOPDIR=${D} OPTIMIZE="${CFLAGS}" install || die + insinto /usr/include + doins gl/vgagl.h + dolib.a gl/libvgagl.a + dolib.so gl/libvgagl.so.${PV} + dosym libvgagl.so.${PV} /usr/lib/libvgagl.so + preplib + + insinto /usr/include + doins src/vga.h gl/vgagl.h src/mouse/vgamouse.h src/joystick/vgajoystick.h + doins src/keyboard/vgakeyboard.h + + cd ${S}/demos + exeinto /usr/lib/svgalib/demos + local DEMO_PROGS="fun testgl speedtest mousetest vgatest scrolltest \ + testlinear \ + keytest testaccel accel forktest eventtest spin bg_test printftest \ + joytest mjoytest bankspeed lineart linearspeed addmodetest \ + svidtune linearfork vgatweak" + doexe ${DEMO_PROGS} + + cd ${S}/threeDKit + exeinto /usr/lib/svgalib/theeDKit + local THREED_PROGS="plane wrapdemo" + doexe ${THREED_PROGS} + + cd ${S}/doc + dodoc 0-README CHANGES* DESIGN NEWS TODO + docinto txt + dodoc Driver-programming-HOWTO README.* add_driver svgalib.lsm +} + |