diff options
author | Mike Frysinger <vapier@gentoo.org> | 2004-01-18 04:07:50 +0000 |
---|---|---|
committer | Mike Frysinger <vapier@gentoo.org> | 2004-01-18 04:07:50 +0000 |
commit | d31c83cdef046e930c112c9da8b3b38066a256df (patch) | |
tree | f199a5a0ca33395ecf41ed8939c7d591ac08c801 /media-libs | |
parent | Crediting benh for patch (diff) | |
download | gentoo-2-d31c83cdef046e930c112c9da8b3b38066a256df.tar.gz gentoo-2-d31c83cdef046e930c112c9da8b3b38066a256df.tar.bz2 gentoo-2-d31c83cdef046e930c112c9da8b3b38066a256df.zip |
old
Diffstat (limited to 'media-libs')
-rw-r--r-- | media-libs/svgalib/files/digest-svgalib-1.9.17-r2 | 1 | ||||
-rw-r--r-- | media-libs/svgalib/svgalib-1.9.17-r2.ebuild | 99 |
2 files changed, 0 insertions, 100 deletions
diff --git a/media-libs/svgalib/files/digest-svgalib-1.9.17-r2 b/media-libs/svgalib/files/digest-svgalib-1.9.17-r2 deleted file mode 100644 index c9f9b62846dc..000000000000 --- a/media-libs/svgalib/files/digest-svgalib-1.9.17-r2 +++ /dev/null @@ -1 +0,0 @@ -MD5 e1599bb3222899d39ce1a2af36670a98 svgalib-1.9.17.tar.gz 921750 diff --git a/media-libs/svgalib/svgalib-1.9.17-r2.ebuild b/media-libs/svgalib/svgalib-1.9.17-r2.ebuild deleted file mode 100644 index e3c8e1ad9d4d..000000000000 --- a/media-libs/svgalib/svgalib-1.9.17-r2.ebuild +++ /dev/null @@ -1,99 +0,0 @@ -# Copyright 1999-2003 Gentoo Technologies, Inc. -# Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/media-libs/svgalib/svgalib-1.9.17-r2.ebuild,v 1.3 2003/09/06 23:59:49 msterret Exp $ - -inherit eutils - -DESCRIPTION="A library for running svga graphics on the console" -HOMEPAGE="http://www.svgalib.org/" -SRC_URI="http://www.arava.co.il/matan/${PN}/${P}.tar.gz" - -LICENSE="BSD" -SLOT="0" -KEYWORDS="~x86 -ppc -sparc -alpha" - -DEPEND="virtual/glibc" - -pkg_setup() { - check_KV -} - -src_unpack() { - unpack ${A} - - cd ${S} - epatch ${FILESDIR}/${P}-gentoo.patch - - # Get it to work with kernel 2.6 - epatch ${FILESDIR}/${P}-linux2.6.patch -} - -src_compile() { - make OPTIMIZE="${CFLAGS}" static shared textutils lrmi utils || \ - die "Failed to build libraries and utils!" - # Build the gl stuff tpp - make OPTIMIZE="${CFLAGS}" -C gl || die "Failed to build gl!" - make OPTIMIZE="${CFLAGS}" -C gl libvgagl.so.${PV} || \ - die "Failed to build libvgagl.so.${PV}!" - rm -f src/svgalib_helper.h - make OPTIMIZE="${CFLAGS}" -C src libvga.so.${PV} || \ - die "Failed to build libvga.so.${PV}!" - cp -a src/libvga.so.${PV} sharedlib/ - make OPTIMIZE="${CFLAFS}" LDFLAGS='-L ../sharedlib' \ - -C threeDKit lib3dkit.a || die "Failed to build threeDKit!" - - make INCLUDEDIR="/usr/src/linux/include" -C kernel/svgalib_helper \ - clean all || die "Failed to build kernel module!" - - make OPTIMIZE="${CFLAGS}" LDFLAGS='-L ../sharedlib' demoprogs || \ - die "Failed to build demoprogs!" - - cp Makefile Makefile.orig - sed -e 's/\(install: $(INSTALLAOUTLIB) \)installheaders \(.*\)/\1\2/g' \ - Makefile.orig > Makefile -} - -src_install() { - local x= - - dodir /etc/svgalib /usr/{include,lib,bin,share/man} - - make TOPDIR=${D} OPTIMIZE="${CFLAGS}" \ - INCLUDEDIR="/usr/src/linux/include" install || \ - die "Failed to install svgalib!" - - insinto /usr/include - doins gl/vgagl.h - dolib.a gl/libvgagl.a - dolib.a threeDKit/lib3dkit.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 - - dodir /etc/modules.d - echo "probeall /dev/svga svgalib_helper" > ${D}/etc/modules.d/svgalib - - exeinto /usr/lib/svgalib/demos - for x in ${S}/demos/* - do - [ -x "${x}" ] && doexe ${x} - done - - cd ${S}/threeDKit - exeinto /usr/lib/svgalib/theeDKit - local THREED_PROGS="plane wrapdemo" - doexe ${THREED_PROGS} - - cd ${S}/doc - dodoc CHANGES DESIGN TODO - docinto txt - dodoc Driver-programming-HOWTO README.* add_driver svgalib.lsm -} - -pkg_postinst() { - [ "${ROOT}" = "/" ] && /sbin/modules-update &> /dev/null -} |