summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMatthew Kennedy <mkennedy@gentoo.org>2003-09-24 01:50:05 +0000
committerMatthew Kennedy <mkennedy@gentoo.org>2003-09-24 01:50:05 +0000
commit61ec320b740369a907d65a952f84224a2da7f66b (patch)
treecb42b69cf3ececda3107a3931b39901993cde360 /dev-lisp/cl-sdl
parentresolves bug 23266 (diff)
downloadhistorical-61ec320b740369a907d65a952f84224a2da7f66b.tar.gz
historical-61ec320b740369a907d65a952f84224a2da7f66b.tar.bz2
historical-61ec320b740369a907d65a952f84224a2da7f66b.zip
resolves bug 23266
Diffstat (limited to 'dev-lisp/cl-sdl')
-rw-r--r--dev-lisp/cl-sdl/Manifest7
-rw-r--r--dev-lisp/cl-sdl/cl-sdl-0.2.1-r1.ebuild84
-rw-r--r--dev-lisp/cl-sdl/files/digest-cl-sdl-0.2.1-r11
3 files changed, 88 insertions, 4 deletions
diff --git a/dev-lisp/cl-sdl/Manifest b/dev-lisp/cl-sdl/Manifest
index fac940c5cf9b..e8fa5049fe1d 100644
--- a/dev-lisp/cl-sdl/Manifest
+++ b/dev-lisp/cl-sdl/Manifest
@@ -1,6 +1,5 @@
-MD5 d26bcb7cd24c53d2f24ad461daa79df3 ChangeLog 315
-MD5 f97a6a3d7b67d304b456c99471937535 cl-sdl-0.2.1.ebuild 2255
-MD5 c872a5fd324ba9c486fb475d8245a7c8 cl-sdl-0.2.1-r1.ebuild 2264
-MD5 f97a6a3d7b67d304b456c99471937535 cl-sdl-0.2.1-r1.ebuild~ 2255
+MD5 c9ebc583609994eb390011f2d845a0bd ChangeLog 473
+MD5 19dc21becba9cb720683794637bd4b04 cl-sdl-0.2.1.ebuild 2256
+MD5 21bba62f2fcb18d2ce2c943734ee4bf9 cl-sdl-0.2.1-r1.ebuild 2295
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.1-r1.ebuild b/dev-lisp/cl-sdl/cl-sdl-0.2.1-r1.ebuild
new file mode 100644
index 000000000000..8775a8b95181
--- /dev/null
+++ b/dev-lisp/cl-sdl/cl-sdl-0.2.1-r1.ebuild
@@ -0,0 +1,84 @@
+# Copyright 1999-2003 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.1-r1.ebuild,v 1.1 2003/09/24 01:50:02 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
+
+ dodir /usr/share/common-lisp/systems
+
+ dosym /usr/share/common-lisp/source/sdl-ffi/sdl-ffi.asd \
+ /usr/share/common-lisp/systems/sdl-ffi.asd
+ 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
+}
+
+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.1-r1 b/dev-lisp/cl-sdl/files/digest-cl-sdl-0.2.1-r1
new file mode 100644
index 000000000000..14192f6a35f0
--- /dev/null
+++ b/dev-lisp/cl-sdl/files/digest-cl-sdl-0.2.1-r1
@@ -0,0 +1 @@
+MD5 0390b1d28dc25374956635a970a31d1e cl-sdl_0.2.1.tar.gz 116563