summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDuncan Coutts <dcoutts@gentoo.org>2006-02-23 00:52:26 +0000
committerDuncan Coutts <dcoutts@gentoo.org>2006-02-23 00:52:26 +0000
commitba1291a8ab054fab68cc4d7608a025a2e35395ca (patch)
tree88a5f3e3fcb8bfb401d5ce42bb7291da58b58b53 /dev-haskell/hsql-mysql
parentMask dev-haskel/hsql-* ebuilds 'til they've been fully tested. (diff)
downloadgentoo-2-ba1291a8ab054fab68cc4d7608a025a2e35395ca.tar.gz
gentoo-2-ba1291a8ab054fab68cc4d7608a025a2e35395ca.tar.bz2
gentoo-2-ba1291a8ab054fab68cc4d7608a025a2e35395ca.zip
Initial import.
(Portage version: 2.1_pre4-r1)
Diffstat (limited to 'dev-haskell/hsql-mysql')
-rw-r--r--dev-haskell/hsql-mysql/ChangeLog9
-rw-r--r--dev-haskell/hsql-mysql/Manifest9
-rw-r--r--dev-haskell/hsql-mysql/files/digest-hsql-mysql-1.73
-rw-r--r--dev-haskell/hsql-mysql/hsql-mysql-1.7.ebuild33
-rw-r--r--dev-haskell/hsql-mysql/metadata.xml8
5 files changed, 62 insertions, 0 deletions
diff --git a/dev-haskell/hsql-mysql/ChangeLog b/dev-haskell/hsql-mysql/ChangeLog
new file mode 100644
index 000000000000..1bc8b0adc187
--- /dev/null
+++ b/dev-haskell/hsql-mysql/ChangeLog
@@ -0,0 +1,9 @@
+# ChangeLog for dev-haskell/hsql-mysql
+# Copyright 1999-2006 Gentoo Foundation; Distributed under the GPL v2
+# $Header: /var/cvsroot/gentoo-x86/dev-haskell/hsql-mysql/ChangeLog,v 1.1 2006/02/23 00:51:19 dcoutts Exp $
+
+*hsql-mysql-1.7 (23 Feb 2006)
+
+ 23 Feb 2006; <duncan@gentoo.org> +metadata.xml, +hsql-mysql-1.7.ebuild:
+ Initial import.
+
diff --git a/dev-haskell/hsql-mysql/Manifest b/dev-haskell/hsql-mysql/Manifest
new file mode 100644
index 000000000000..f6cb6d240519
--- /dev/null
+++ b/dev-haskell/hsql-mysql/Manifest
@@ -0,0 +1,9 @@
+MD5 8b88f3b8f094ddbdd05b6694b7543fc7 files/digest-hsql-mysql-1.7 223
+RMD160 7d319609e94b9fd8a725bbb036d5f6ae37e818f6 files/digest-hsql-mysql-1.7 223
+SHA256 68b6c539208dcf5c7056e412864a29dda67a3bea95995b53b80c981b76e3cedd files/digest-hsql-mysql-1.7 223
+MD5 5becafba063154fccb2cfaa3ee7b40a2 hsql-mysql-1.7.ebuild 834
+RMD160 84f8927d7bd133b71555a4113961489077e5a551 hsql-mysql-1.7.ebuild 834
+SHA256 dc132ff69080091e6fb9da4332f600ea92d48c7bab841f06a4d0526558d8fea8 hsql-mysql-1.7.ebuild 834
+MD5 c694674dcbef799cd4fdb6914683ebff metadata.xml 223
+RMD160 7783e6057effb8b8f0b79cffe8b557b32c633839 metadata.xml 223
+SHA256 1d00c8be162a6cb87b3de440b3e63e10b39c12d56e8fbfe592e75aed872b2508 metadata.xml 223
diff --git a/dev-haskell/hsql-mysql/files/digest-hsql-mysql-1.7 b/dev-haskell/hsql-mysql/files/digest-hsql-mysql-1.7
new file mode 100644
index 000000000000..7944c41532c4
--- /dev/null
+++ b/dev-haskell/hsql-mysql/files/digest-hsql-mysql-1.7
@@ -0,0 +1,3 @@
+MD5 940c85cc1d6799eff9bc95f0224bd615 HSQL-1.7.tar.gz 37787
+RMD160 0bba6064c429480e3c95f7e41a683db981fe670f HSQL-1.7.tar.gz 37787
+SHA256 252f333f2a4ff2b58b2c9ba0c307f36ea674e77f0938e85950c2496b10ac2c2d HSQL-1.7.tar.gz 37787
diff --git a/dev-haskell/hsql-mysql/hsql-mysql-1.7.ebuild b/dev-haskell/hsql-mysql/hsql-mysql-1.7.ebuild
new file mode 100644
index 000000000000..738aca038d60
--- /dev/null
+++ b/dev-haskell/hsql-mysql/hsql-mysql-1.7.ebuild
@@ -0,0 +1,33 @@
+# Copyright 1999-2006 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/dev-haskell/hsql-mysql/hsql-mysql-1.7.ebuild,v 1.1 2006/02/23 00:51:19 dcoutts Exp $
+
+CABAL_FEATURES="lib haddock"
+inherit base haskell-cabal
+
+DESCRIPTION="MySQL driver for HSQL"
+HOMEPAGE="http://htoolkit.sourceforge.net/"
+SRC_URI="mirror://gentoo/HSQL-${PV}.tar.gz"
+
+LICENSE="BSD"
+SLOT="0"
+KEYWORDS="~x86 ~amd64"
+IUSE=""
+
+DEPEND=">=virtual/ghc-6.4.1
+ =dev-haskell/hsql-${PV}
+ dev-db/mysql"
+
+S="${WORKDIR}/HSQL/MySQL"
+
+src_unpack() {
+ base_src_unpack
+
+ echo '> import Distribution.Simple' > "${S}/Setup.lhs"
+ echo '> main = defaultMain' >> "${S}/Setup.lhs"
+
+ sed -i '/cc-options:/d' "${S}/MySQL.cabal"
+ echo 'extra-libraries: mysqlclient' >> "${S}/MySQL.cabal"
+ echo 'ld-options: -L/usr/lib/mysql' >> "${S}/MySQL.cabal"
+ echo 'include-dirs: Database/HSQL /usr/include/mysql' >> "${S}/MySQL.cabal"
+}
diff --git a/dev-haskell/hsql-mysql/metadata.xml b/dev-haskell/hsql-mysql/metadata.xml
new file mode 100644
index 000000000000..8c66906af531
--- /dev/null
+++ b/dev-haskell/hsql-mysql/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>haskell</herd>
+<maintainer>
+ <email>haskell@gentoo.org</email>
+</maintainer>
+</pkgmetadata>