diff options
author | Akinori Hattori <hattya@gentoo.org> | 2004-08-19 08:51:45 +0000 |
---|---|---|
committer | Akinori Hattori <hattya@gentoo.org> | 2004-08-19 08:51:45 +0000 |
commit | 9177167b41dfc85fc66f7b866993bfb7c08388a4 (patch) | |
tree | a7f2ef3a8319f9bfe972be931ba5d604a6b1174c /dev-scheme/gauche-cdb | |
parent | Stable on hppa. (Manifest recommit) (diff) | |
download | gentoo-2-9177167b41dfc85fc66f7b866993bfb7c08388a4.tar.gz gentoo-2-9177167b41dfc85fc66f7b866993bfb7c08388a4.tar.bz2 gentoo-2-9177167b41dfc85fc66f7b866993bfb7c08388a4.zip |
*** empty log message ***
Diffstat (limited to 'dev-scheme/gauche-cdb')
-rw-r--r-- | dev-scheme/gauche-cdb/ChangeLog | 11 | ||||
-rw-r--r-- | dev-scheme/gauche-cdb/Manifest | 4 | ||||
-rw-r--r-- | dev-scheme/gauche-cdb/files/digest-gauche-cdb-0.3.1 | 1 | ||||
-rw-r--r-- | dev-scheme/gauche-cdb/files/gauche-cdb-0.3.1-gpd.diff | 11 | ||||
-rw-r--r-- | dev-scheme/gauche-cdb/files/gauche-cdb-0.3.1-tinycdb.diff | 36 | ||||
-rw-r--r-- | dev-scheme/gauche-cdb/gauche-cdb-0.3.1.ebuild | 57 | ||||
-rw-r--r-- | dev-scheme/gauche-cdb/metadata.xml | 8 |
7 files changed, 128 insertions, 0 deletions
diff --git a/dev-scheme/gauche-cdb/ChangeLog b/dev-scheme/gauche-cdb/ChangeLog new file mode 100644 index 000000000000..b73da091d791 --- /dev/null +++ b/dev-scheme/gauche-cdb/ChangeLog @@ -0,0 +1,11 @@ +# ChangeLog for dev-scheme/gauche-cdb +# Copyright 1999-2004 Gentoo Foundation; Distributed under the GPL v2 +# $Header: /var/cvsroot/gentoo-x86/dev-scheme/gauche-cdb/ChangeLog,v 1.1 2004/08/19 08:51:45 hattya Exp $ + +*gauche-cdb-0.3.1 (19 Aug 2004) + + 19 Aug 2004; Akinori Hattori <hattya@gentoo.org> +metadata.xml, + +files/gauche-cdb-0.3.1-gpd.diff, +files/gauche-cdb-0.3.1-tinycdb.diff, + +gauche-cdb-0.3.1.ebuild: + Initial revision. + diff --git a/dev-scheme/gauche-cdb/Manifest b/dev-scheme/gauche-cdb/Manifest new file mode 100644 index 000000000000..4d55794f1ee6 --- /dev/null +++ b/dev-scheme/gauche-cdb/Manifest @@ -0,0 +1,4 @@ +MD5 2ff6a71f7dfc1e2ff3c303b513f77090 gauche-cdb-0.3.1.ebuild 873 +MD5 f6895dbeccdca1452f430f0afc70b529 files/digest-gauche-cdb-0.3.1 67 +MD5 e0b23c83d59568c4c25137aeec1a0c1b files/gauche-cdb-0.3.1-gpd.diff 357 +MD5 226c61c2d1effb97cf75c65467c44b03 files/gauche-cdb-0.3.1-tinycdb.diff 1284 diff --git a/dev-scheme/gauche-cdb/files/digest-gauche-cdb-0.3.1 b/dev-scheme/gauche-cdb/files/digest-gauche-cdb-0.3.1 new file mode 100644 index 000000000000..f5557d337d8a --- /dev/null +++ b/dev-scheme/gauche-cdb/files/digest-gauche-cdb-0.3.1 @@ -0,0 +1 @@ +MD5 615859d074132205e826fa53ca1cda76 Gauche-cdb-0.3.1.tar.gz 72048 diff --git a/dev-scheme/gauche-cdb/files/gauche-cdb-0.3.1-gpd.diff b/dev-scheme/gauche-cdb/files/gauche-cdb-0.3.1-gpd.diff new file mode 100644 index 000000000000..3ef4b9e5e633 --- /dev/null +++ b/dev-scheme/gauche-cdb/files/gauche-cdb-0.3.1-gpd.diff @@ -0,0 +1,11 @@ +diff -u Gauche-cdb-0.3.1.orig/configure.ac Gauche-cdb-0.3.1/configure.ac +--- Gauche-cdb-0.3.1.orig/configure.ac 2004-02-25 11:40:16.000000000 +0900 ++++ Gauche-cdb-0.3.1/configure.ac 2004-07-18 23:48:00.540652808 +0900 +@@ -16,6 +16,7 @@ + AC_LIB_LINKFLAGS(cdb) + + AC_GAUCHE_FIX_LIBS + ++AC_GAUCHE_MAKE_GPD + echo $PACKAGE_VERSION > VERSION + AC_OUTPUT(Makefile) diff --git a/dev-scheme/gauche-cdb/files/gauche-cdb-0.3.1-tinycdb.diff b/dev-scheme/gauche-cdb/files/gauche-cdb-0.3.1-tinycdb.diff new file mode 100644 index 000000000000..7997330bc11a --- /dev/null +++ b/dev-scheme/gauche-cdb/files/gauche-cdb-0.3.1-tinycdb.diff @@ -0,0 +1,36 @@ +diff -u Gauche-cdb-0.3.1.orig/Makefile.in Gauche-cdb-0.3.1/Makefile.in +--- Gauche-cdb-0.3.1.orig/Makefile.in 2004-02-25 11:40:16.000000000 +0900 ++++ Gauche-cdb-0.3.1/Makefile.in 2004-07-22 22:23:54.025436272 +0900 +@@ -55,7 +55,7 @@ + $(GOSH) genstub $< + + $(MODULE).$(DSOEXT): $(OBJS) +- $(CC) -Wl,-rpath -Wl,`gauche-config --sysarchdir` $(LDFLAGS) $(MODULE).$(DSOEXT) $(OBJS) $(LIBS) @LIBCDB@ ++ $(CC) -Wl,-rpath -Wl,`gauche-config --sysarchdir` $(LDFLAGS) $(MODULE).$(DSOEXT) $(OBJS) $(LIBS) @LIBTINYCDB@ + + $(MODULE)_head.c $(MODULE)_tail.c : + $(GAUCHE_CONFIG) --fixup-extension $(MODULE) +diff -u Gauche-cdb-0.3.1.orig/cdb.stub Gauche-cdb-0.3.1/cdb.stub +--- Gauche-cdb-0.3.1.orig/cdb.stub 2004-02-25 11:40:16.000000000 +0900 ++++ Gauche-cdb-0.3.1/cdb.stub 2004-07-22 22:22:59.403740032 +0900 +@@ -36,7 +36,7 @@ + " + #include <gauche/extend.h> + #include <fcntl.h> +- #include <cdb.h> ++ #include <tinycdb.h> + + typedef struct ScmCdbRec { + SCM_HEADER; +diff -u Gauche-cdb-0.3.1.orig/configure.ac Gauche-cdb-0.3.1/configure.ac +--- Gauche-cdb-0.3.1.orig/configure.ac 2004-02-25 11:40:16.000000000 +0900 ++++ Gauche-cdb-0.3.1/configure.ac 2004-07-22 22:22:48.824348344 +0900 +@@ -13,7 +13,7 @@ + + AC_PROG_INSTALL + +-AC_LIB_LINKFLAGS(cdb) ++AC_LIB_LINKFLAGS(tinycdb) + + AC_GAUCHE_FIX_LIBS + diff --git a/dev-scheme/gauche-cdb/gauche-cdb-0.3.1.ebuild b/dev-scheme/gauche-cdb/gauche-cdb-0.3.1.ebuild new file mode 100644 index 000000000000..ca0e91ca4215 --- /dev/null +++ b/dev-scheme/gauche-cdb/gauche-cdb-0.3.1.ebuild @@ -0,0 +1,57 @@ +# Copyright 1999-2004 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/dev-scheme/gauche-cdb/gauche-cdb-0.3.1.ebuild,v 1.1 2004/08/19 08:51:45 hattya Exp $ + +inherit eutils + +IUSE="" + +MY_P="${P/g/G}" + +DESCRIPTION="CDB binding for Gauche" +HOMEPAGE="http://sourceforge.jp/projects/gauche/" +SRC_URI="mirror://sourceforge.jp/gauche/8407/${MY_P}.tar.gz" + +RESTRICT="nomirror" +LICENSE="BSD" +KEYWORDS="~x86" +SLOT="0" +S="${WORKDIR}/${MY_P}" + +DEPEND=">=dev-lang/gauche-0.7.4 + dev-db/tinycdb" + +src_unpack() { + + unpack ${A} + cd ${S} + + epatch ${FILESDIR}/${P}-tinycdb.diff + + if has_version '>=dev-lang/gauche-0.8'; then + epatch ${FILESDIR}/${P}-gpd.diff + fi + + aclocal + autoconf + +} + +src_compile() { + + econf || die + emake || die + +} + +src_install() { + + make DESTDIR=${D} install || die + dodoc README + + if has_version '>=dev-lang/gauche-0.8'; then + insinto $(gauche-config --sitelibdir)/.packages + doins ${MY_P%-*}.gpd + fi + +} diff --git a/dev-scheme/gauche-cdb/metadata.xml b/dev-scheme/gauche-cdb/metadata.xml new file mode 100644 index 000000000000..bfe33a26e11c --- /dev/null +++ b/dev-scheme/gauche-cdb/metadata.xml @@ -0,0 +1,8 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd"> +<pkgmetadata> + <herd>no-herd</herd> + <maintainer> + <email>hattya@gentoo.org</email> + </maintainer> +</pkgmetadata> |