Go to:
Gentoo Home
Documentation
Forums
Lists
Bugs
Planet
Store
Wiki
Get Gentoo!
Gentoo's Bugzilla – Attachment 52804 Details for
Bug 84335
hsql-1.4.ebuild (New Package)
Home
|
New
–
[Ex]
|
Browse
|
Search
|
Privacy Policy
|
[?]
|
Reports
|
Requests
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
The Ebuild for hsql
hsql-1.4.ebuild (text/plain), 2.37 KB, created by
Henning Günther
on 2005-03-06 12:28:32 UTC
(
hide
)
Description:
The Ebuild for hsql
Filename:
MIME Type:
Creator:
Henning Günther
Created:
2005-03-06 12:28:32 UTC
Size:
2.37 KB
patch
obsolete
># Copyright 1999-2005 Gentoo Foundation ># Distributed under the terms of the GNU General Public License v2 ># $Header: $ > >inherit ghc-package > >LICENSE="as-is" >HOMEPAGE="http://htoolkit.sourceforge.net/" >DESCRIPTION="SQL bindings for Haskell" > >IUSE="mysql postgres odbc sqlite doc" >KEYWORDS="~x86" >SLOT="0" > >SRC_URI="mirror://sourceforge/htoolkit/HSQL-${PV}.tar.gz" > >DEPEND="mysql? (dev-db/mysql) >postgres? (dev-db/postgresql) >odbc? (dev-db/libiodbc) >sqlite? (dev-db/sqlite) >virtual/ghc >" > >RDEPEND="${DEPEND}" > >S=${WORKDIR}/HSQL > >src_compile() { > > # The Makefile is not standart-conform, so --disable-FEATURE will somehow > # turn FEATURE on... Working around that: > > local MYENABLE > MYENABLE="" > if use mysql; then > MYENABLE="${MYENABLE} --enable-mysql" > fi > if use postgres; then > MYENABLE="${MYENABLE} --enable-postgres" > fi > if use odbc; then > MYENABLE="${MYENABLE} --enable-odbc" > fi > if use sqlite; then > MYENABLE="${MYENABLE} --enable-sqlite" > fi > econf \ > ${MYENABLE} \ > || die "Error: econf failed" > emake -j1 all \ > || die "Error: emake all failed" > if use doc; then > emake -j1 docs \ > || die "Error: emake docs failed" > fi > > # As the packages delivered hsql.pkg seems horrible broken, we rather write > # our own... > > local MYPKGCONF > MYPKGCONF="Package >{ > name = \"hsql\", > auto = True, > import_dirs = [\"$(ghc-libdir)/imports\"], > source_dirs = [], > library_dirs = [\"$(ghc-libdir)\",\"/usr/lib\"" > if use mysql; then > MYPKGCONF="${MYPKGCONF},\"/usr/lib/mysql\"" > fi > MYPKGCONF="${MYPKGCONF}], > hs_libraries = [\"HSsql\"], > extra_libraries = [" > if use sqlite; then > MYPKGCONF="${MYPKGCONF}\"sqlite\"," > fi > if use mysql; then > MYPKGCONF="${MYPKGCONF}\"mysqlclient\"," > fi > if use postgres; then > MYPKGCONF="${MYPKGCONF}\"pq\"," > fi > if use odbc; then > MYPKGCONF="${MYPKGCONF}\"odbc\"," > fi > MYPKGCONF="${MYPKGCONF}\"z\",\"crypt\",\"nsl\",\"ssl\",\"crypto\"], > include_dirs = [], > c_includes = [], > package_deps = [\"base\"], > extra_ghc_opts = [], > extra_ld_opts = [], > framework_dirs = [], > extra_frameworks = [] >}" > echo "${MYPKGCONF}" > myhsql.pkg > ghc-setup-pkg myhsql.pkg > ghc-makeghcilib build/libHSsql.a >} > >src_install() { > insinto $(ghc-libdir) > doins build/libHSsql.a > doins build/HSsql.o > insinto $(ghc-libdir)/imports/Database > doins build/Database/HSQL.hi > insinto $(ghc-libdir)/imports/Database/HSQL > doins build/Database/HSQL/*.hi > if use doc; then > dohtml doc/* > fi > ghc-install-pkg >}
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Raw
Actions:
View
Attachments on
bug 84335
: 52804