summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--dev-lisp/cl-gd/ChangeLog7
-rw-r--r--dev-lisp/cl-gd/Manifest5
-rw-r--r--dev-lisp/cl-gd/cl-gd-0.2.0.ebuild77
-rw-r--r--dev-lisp/cl-gd/files/digest-cl-gd-0.2.01
4 files changed, 86 insertions, 4 deletions
diff --git a/dev-lisp/cl-gd/ChangeLog b/dev-lisp/cl-gd/ChangeLog
index fd66083b5628..c7564c77ae0a 100644
--- a/dev-lisp/cl-gd/ChangeLog
+++ b/dev-lisp/cl-gd/ChangeLog
@@ -1,6 +1,11 @@
# ChangeLog for dev-lisp/cl-gd
# Copyright 2000-2003 Gentoo Technologies, Inc.; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/dev-lisp/cl-gd/ChangeLog,v 1.3 2003/10/16 03:08:45 mkennedy Exp $
+# $Header: /var/cvsroot/gentoo-x86/dev-lisp/cl-gd/ChangeLog,v 1.4 2003/10/30 09:01:30 mkennedy Exp $
+
+*cl-gd-0.2.0 (30 Oct 2003)
+
+ 30 Oct 2003; <mkennedy@gentoo.org> cl-gd-0.2.0.ebuild:
+ new upstream, follow Edi's tar.gz naming convention, install the test suite
15 Oct 2003; Matthew Kennedy <mkennedy@gentoo.org> cl-gd-0.1.4.ebuild,
metadata.xml:
diff --git a/dev-lisp/cl-gd/Manifest b/dev-lisp/cl-gd/Manifest
index a0a20b98d45a..5fde2a64bdaf 100644
--- a/dev-lisp/cl-gd/Manifest
+++ b/dev-lisp/cl-gd/Manifest
@@ -1,9 +1,8 @@
-MD5 248c1b025a4427af1351c81f63437cd0 ChangeLog 540
+MD5 d5485261175bfcee318ceac0c7a7022c ChangeLog 704
MD5 4a4d0a7d64db3f599c3ec87f0f219185 cl-gd-0.1.0.ebuild 1451
MD5 e8c62f9cc92a8bc6c6ea039f9778aea3 cl-gd-0.1.4.ebuild 1589
MD5 9b65b0341efc8f4b29498aad23315229 metadata.xml 164
-MD5 2eebc76d46a579f1e94156899bd4c017 cl-gd-0.2.0.ebuild 1592
-MD5 e8c62f9cc92a8bc6c6ea039f9778aea3 cl-gd-0.2.0.ebuild~ 1589
+MD5 25328e8492675fc51655490b380e4272 cl-gd-0.2.0.ebuild 2294
MD5 f47a6f22326f50ee0123303a9672eeab files/digest-cl-gd-0.1.0 63
MD5 fec3d8a7a4baca19965abf58f34a84bb files/digest-cl-gd-0.1.4 63
MD5 df350c7ee5da704ad167c6bdc5e790f8 files/digest-cl-gd-0.2.0 68
diff --git a/dev-lisp/cl-gd/cl-gd-0.2.0.ebuild b/dev-lisp/cl-gd/cl-gd-0.2.0.ebuild
new file mode 100644
index 000000000000..0715e85e5db7
--- /dev/null
+++ b/dev-lisp/cl-gd/cl-gd-0.2.0.ebuild
@@ -0,0 +1,77 @@
+# 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-gd/cl-gd-0.2.0.ebuild,v 1.1 2003/10/30 09:01:30 mkennedy Exp $
+
+inherit common-lisp
+
+DESCRIPTION="CL-GD is a library for Common Lisp which provides an interface to the GD Graphics Library for the dynamic creation of images. It is based on UFFI and should thus be portable to all CL implementations supported by UFFI."
+HOMEPAGE="http://weitz.de/cl-gd
+ http://www.cliki.net/cl-gd"
+SRC_URI="mirror://gentoo/${PN}_${PV}.orig.tar.gz"
+LICENSE="BSD"
+SLOT="0"
+KEYWORDS="~x86"
+IUSE=""
+DEPEND="dev-lisp/common-lisp-controller
+ >=dev-lisp/cl-uffi-1.3.4
+ media-libs/libpng
+ media-libs/jpeg
+ media-libs/freetype
+ >=media-libs/libgd-2.0.15
+ sys-libs/zlib
+ virtual/commonlisp"
+
+CLPACKAGE=cl-gd
+
+S=${WORKDIR}/${P}
+
+src_compile() {
+ gcc ${CFLAGS} -fPIC -c cl-gd-glue.c
+ ld -lgd -lz -lpng -ljpeg -lfreetype -lm -shared cl-gd-glue.o -o cl-gd-glue.so
+ rm cl-gd-glue.o
+}
+
+src_install() {
+ insinto /usr/lib
+ doins cl-gd-glue.so
+
+ insinto /usr/share/common-lisp/source/cl-gd
+ doins `ls *.asd *.lisp |grep -v ^cl-gd-test`
+ dodir /usr/share/common-lisp/systems
+ dosym /usr/share/common-lisp/source/cl-gd/cl-gd.asd \
+ /usr/share/common-lisp/systems/cl-gd.asd
+
+ insinto /usr/share/common-lisp/source/cl-gd-test
+ doins cl-gd-test.asd cl-gd-test.lisp
+ dosym /usr/share/common-lisp/source/cl-gd-test/cl-gd-test.asd \
+ /usr/share/common-lisp/systems/cl-gd-test.asd
+
+ insinto /usr/share/common-lisp/source/cl-gd/test
+ doins test/*
+ insinto /usr/share/common-lisp/source/cl-gd/test/orig
+ doins test/orig/*
+
+ dodoc CHANGELOG README
+ dohtml doc/*
+}
+
+pkg_preinst() {
+ rm -rf /usr/lib/common-lisp/*/{cl-gd,cl-gd-test} || true
+}
+
+pkg_postrm() {
+ rm -rf /usr/lib/common-lisp/*/{cl-gd,cl-gd-test} || true
+}
+
+pkg_postinst() {
+ /usr/sbin/register-common-lisp-source cl-gd
+ /usr/sbin/register-common-lisp-source cl-gd-test
+ einfo "To run the test suite, you will need to adjust permissions on the test"
+ einfo "images located in /usr/share/common-lisp/source/cl-gd/test or relocate"
+ einfo "the images and set cl-gd-test:*test-directory* appropriately."
+}
+
+pkg_prerm() {
+ /usr/sbin/unregister-common-lisp-source cl-gd
+ /usr/sbin/unregister-common-lisp-source cl-gd-test
+}
diff --git a/dev-lisp/cl-gd/files/digest-cl-gd-0.2.0 b/dev-lisp/cl-gd/files/digest-cl-gd-0.2.0
new file mode 100644
index 000000000000..53b45293e7c9
--- /dev/null
+++ b/dev-lisp/cl-gd/files/digest-cl-gd-0.2.0
@@ -0,0 +1 @@
+MD5 9032f7628b97b5ff52fdb3aeba94d37e cl-gd_0.2.0.orig.tar.gz 195168