summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMatthew Kennedy <mkennedy@gentoo.org>2005-07-20 21:36:09 +0000
committerMatthew Kennedy <mkennedy@gentoo.org>2005-07-20 21:36:09 +0000
commitc70be8ba8bb2921f157bf7c2e4694c1aa4dcafec (patch)
treef7e662dea44802bb5464dc26577a048fac9fcc65 /dev-lisp/cl-sdl/cl-sdl-0.2.2-r2.ebuild
parentAdd more comments on the 6.8.99.15 release. (diff)
downloadgentoo-2-c70be8ba8bb2921f157bf7c2e4694c1aa4dcafec.tar.gz
gentoo-2-c70be8ba8bb2921f157bf7c2e4694c1aa4dcafec.tar.bz2
gentoo-2-c70be8ba8bb2921f157bf7c2e4694c1aa4dcafec.zip
.
(Portage version: 2.0.51.22-r2)
Diffstat (limited to 'dev-lisp/cl-sdl/cl-sdl-0.2.2-r2.ebuild')
-rw-r--r--dev-lisp/cl-sdl/cl-sdl-0.2.2-r2.ebuild80
1 files changed, 80 insertions, 0 deletions
diff --git a/dev-lisp/cl-sdl/cl-sdl-0.2.2-r2.ebuild b/dev-lisp/cl-sdl/cl-sdl-0.2.2-r2.ebuild
new file mode 100644
index 000000000000..9216b8aecd4f
--- /dev/null
+++ b/dev-lisp/cl-sdl/cl-sdl-0.2.2-r2.ebuild
@@ -0,0 +1,80 @@
+# Copyright 1999-2005 Gentoo Foundation
+# 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-r2.ebuild,v 1.1 2005/07/20 21:36:09 mkennedy Exp $
+
+inherit common-lisp eutils
+
+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="~amd64 ~ppc ~sparc 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/opengl"
+
+S=${WORKDIR}/${PN}
+
+SUB_PACKAGES="sdl sdl-ttf sdl-img sdl-mix opengl"
+CLPACKAGE="sdl-ffi sdl-demos ${SUB_PACKAGES}"
+
+src_unpack() {
+ unpack ${A}
+ epatch ${FILESDIR}/${PV}-CD-STATUS-gentoo.patch || die
+}
+
+src_compile() {
+ make clean
+ make || die
+}
+
+src_install() {
+ insinto /usr/lib/cl-sdl
+ doins build/*.so
+
+ dodir /usr/share/common-lisp/systems/
+
+ 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
+ dosym /usr/share/common-lisp/source/sdl-ffi/sdl-ffi.asd \
+ /usr/share/common-lisp/systems/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
+}