From c33bd335191251dcb2ae69dfa5a5b7ff56e21f74 Mon Sep 17 00:00:00 2001 From: Matthew Kennedy Date: Tue, 6 Jan 2004 04:38:44 +0000 Subject: *** empty log message *** --- dev-lisp/cl-sdl/Manifest | 4 +- dev-lisp/cl-sdl/cl-sdl-0.2.2.ebuild | 88 +++++++++++++++++++++++++++++++ dev-lisp/cl-sdl/files/digest-cl-sdl-0.2.2 | 1 + 3 files changed, 91 insertions(+), 2 deletions(-) create mode 100644 dev-lisp/cl-sdl/cl-sdl-0.2.2.ebuild create mode 100644 dev-lisp/cl-sdl/files/digest-cl-sdl-0.2.2 (limited to 'dev-lisp/cl-sdl') diff --git a/dev-lisp/cl-sdl/Manifest b/dev-lisp/cl-sdl/Manifest index a4e52a602c22..a770d2ea0fcf 100644 --- a/dev-lisp/cl-sdl/Manifest +++ b/dev-lisp/cl-sdl/Manifest @@ -1,8 +1,8 @@ -MD5 2289dbfcc01293b4970435e5af09bf86 ChangeLog 642 +MD5 0fad9374d3ec93cc1c7d13c0324f5bc6 ChangeLog 759 MD5 7020b83ed4f258198550cd2c8cd28890 cl-sdl-0.2.1-r1.ebuild 2581 MD5 19dc21becba9cb720683794637bd4b04 cl-sdl-0.2.1.ebuild 2256 MD5 9b65b0341efc8f4b29498aad23315229 metadata.xml 164 -MD5 19dc21becba9cb720683794637bd4b04 cl-sdl-0.2.2.ebuild 2256 +MD5 8b06c4dcc59928a5e5013a86a0d49c06 cl-sdl-0.2.2.ebuild 2285 MD5 eb99992a3fab31005b911962e7e6f116 files/cl-sdl-0.2.1-gentoo.patch 4044 MD5 3fb703d7848492c86eb70264442ebed4 files/digest-cl-sdl-0.2.1 64 MD5 3fb703d7848492c86eb70264442ebed4 files/digest-cl-sdl-0.2.1-r1 64 diff --git a/dev-lisp/cl-sdl/cl-sdl-0.2.2.ebuild b/dev-lisp/cl-sdl/cl-sdl-0.2.2.ebuild new file mode 100644 index 000000000000..4ddb4109a766 --- /dev/null +++ b/dev-lisp/cl-sdl/cl-sdl-0.2.2.ebuild @@ -0,0 +1,88 @@ +# Copyright 1999-2004 Gentoo Technologies, Inc. +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/dev-lisp/cl-sdl/cl-sdl-0.2.2.ebuild,v 1.1 2004/01/06 04:38:36 mkennedy Exp $ + +inherit common-lisp + +DESCRIPTION="Common Lisp bindings to the SDL graphics library, and OpenGL libraries" +HOMEPAGE="http://cl-sdl.sourceforge.net/" +SRC_URI="mirror://sourceforge/cl-sdl/${PN}_${PV}.tar.gz" +LICENSE="MIT" +SLOT="0" +KEYWORDS="~x86" +IUSE="" +DEPEND="dev-lisp/cl-uffi + =media-libs/libsdl-1.2* + =media-libs/sdl-ttf-2* + =media-libs/sdl-mixer-1.2* + =media-libs/sdl-image-1.2* + virtual/commonlisp + virtual/opengl" + +S=${WORKDIR}/${PN} + +SUB_PACKAGES="sdl sdl-ttf sdl-img sdl-mix opengl" + +src_compile() { + make clean + make || die +} + +src_install() { + insinto /usr/lib/cl-sdl + doins build/*.so + + insinto /usr/share/common-lisp/source/sdl-ffi/ffi + doins ffi/uffi.lisp + insinto /usr/share/common-lisp/source/sdl-ffi + doins sdl-ffi.asd + + insinto /usr/share/common-lisp/source/sdl-demos/examples/nehe + doins examples/nehe/*.lisp + insinto /usr/share/common-lisp/source/sdl-demos/examples + doins examples/*.lisp + insinto /usr/share/common-lisp/source/sdl-demos + doins sdl-demos.asd + + insinto /usr/share/common-lisp/source/sdl-ffi + doins sdl-ffi.asd + + dodir /usr/share/common-lisp/systems + + dosym /usr/share/common-lisp/source/sdl-demos/sdl-demos.asd \ + /usr/share/common-lisp/systems/sdl-demos.asd + + for i in ${SUB_PACKAGES} ; do + # install lisp + insinto /usr/share/common-lisp/source/$i/$i + doins $i/*.lisp + insinto /usr/share/common-lisp/source/$i + doins $i.asd + # install system + dosym /usr/share/common-lisp/source/$i/$i.asd \ + /usr/share/common-lisp/systems/$i.asd + done + + insinto /usr/share/cl-sdl-demos/data + doins examples/data/cl-sdl.bmp examples/data/cl-sdl.xcf \ + examples/data/star.bmp examples/data/tut10.world + + dodoc LICENSE README STYLE +} + +pkg_postinst() { + /usr/sbin/register-common-lisp-source sdl-ffi + /usr/sbin/register-common-lisp-source sdl-demos + for i in ${SUB_PACKAGES} ; do + /usr/sbin/register-common-lisp-source $i + done +} + +pkg_prerm() { + /usr/sbin/unregister-common-lisp-source sdl-ffi + /usr/sbin/unregister-common-lisp-source sdl-demos + for i in ${SUB_PACKAGES} ; do + /usr/sbin/unregister-common-lisp-source $i + done +} + diff --git a/dev-lisp/cl-sdl/files/digest-cl-sdl-0.2.2 b/dev-lisp/cl-sdl/files/digest-cl-sdl-0.2.2 new file mode 100644 index 000000000000..096de2653310 --- /dev/null +++ b/dev-lisp/cl-sdl/files/digest-cl-sdl-0.2.2 @@ -0,0 +1 @@ +MD5 ee055a7ceed1f5c2ce7c5b8852454528 cl-sdl_0.2.2.tar.gz 128889 -- cgit v1.2.3-65-gdbad