summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBen de Groot <yngwin@gentoo.org>2010-02-23 03:49:41 +0000
committerBen de Groot <yngwin@gentoo.org>2010-02-23 03:49:41 +0000
commit3d3e7f6ea5252dfdd9d74607ac60e717a2f3214d (patch)
tree96b12324b197a58fcca47196ca505a92c24aa604 /dev-php/roadsend-php
parentMigrate to qt4-r2.eclass (diff)
downloadhistorical-3d3e7f6ea5252dfdd9d74607ac60e717a2f3214d.tar.gz
historical-3d3e7f6ea5252dfdd9d74607ac60e717a2f3214d.tar.bz2
historical-3d3e7f6ea5252dfdd9d74607ac60e717a2f3214d.zip
Version bump (bug 273210). Remove old versions. Migrate to eapi-2. Fix sqlite useflag (bug 251396).
Package-Manager: portage-2.2_rc62/cvs/Linux x86_64
Diffstat (limited to 'dev-php/roadsend-php')
-rw-r--r--dev-php/roadsend-php/ChangeLog13
-rw-r--r--dev-php/roadsend-php/Manifest15
-rw-r--r--dev-php/roadsend-php/files/bigloo-3.1a-configsupport.patch40
-rw-r--r--dev-php/roadsend-php/roadsend-php-2.9.3.ebuild50
-rw-r--r--dev-php/roadsend-php/roadsend-php-2.9.4.ebuild50
-rw-r--r--dev-php/roadsend-php/roadsend-php-2.9.5.ebuild50
-rw-r--r--dev-php/roadsend-php/roadsend-php-2.9.6.ebuild57
-rw-r--r--dev-php/roadsend-php/roadsend-php-2.9.8.ebuild52
-rw-r--r--dev-php/roadsend-php/roadsend-php-2.9.9_p1.ebuild55
9 files changed, 69 insertions, 313 deletions
diff --git a/dev-php/roadsend-php/ChangeLog b/dev-php/roadsend-php/ChangeLog
index 74586add51fa..ddf9a6db4882 100644
--- a/dev-php/roadsend-php/ChangeLog
+++ b/dev-php/roadsend-php/ChangeLog
@@ -1,6 +1,15 @@
# ChangeLog for dev-php/roadsend-php
-# Copyright 1999-2008 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/dev-php/roadsend-php/ChangeLog,v 1.10 2008/12/31 00:16:21 hkbst Exp $
+# Copyright 1999-2010 Gentoo Foundation; Distributed under the GPL v2
+# $Header: /var/cvsroot/gentoo-x86/dev-php/roadsend-php/ChangeLog,v 1.11 2010/02/23 03:49:40 yngwin Exp $
+
+*roadsend-php-2.9.9_p1 (23 Feb 2010)
+
+ 23 Feb 2010; Ben de Groot <yngwin@gentoo.org> -roadsend-php-2.9.3.ebuild,
+ -roadsend-php-2.9.4.ebuild, -roadsend-php-2.9.5.ebuild,
+ -roadsend-php-2.9.6.ebuild, -roadsend-php-2.9.8.ebuild,
+ +roadsend-php-2.9.9_p1.ebuild, -files/bigloo-3.1a-configsupport.patch:
+ Version bump (bug 273210). Remove old versions. Migrate to eapi-2. Fix
+ sqlite useflag (bug 251396).
*roadsend-php-2.9.8 (31 Dec 2008)
diff --git a/dev-php/roadsend-php/Manifest b/dev-php/roadsend-php/Manifest
index f63f81d85341..d660b57096d4 100644
--- a/dev-php/roadsend-php/Manifest
+++ b/dev-php/roadsend-php/Manifest
@@ -1,13 +1,4 @@
-AUX bigloo-3.1a-configsupport.patch 1259 RMD160 7f934fda464875258d592d4c7015ca9698afb7fd SHA1 0e28ba6c89ae2b5db4f34ba514e4c4df7c9ee6ed SHA256 73e389ca44c5b5772c89cf426c2ce22924874b5ab6badc5810c8b9364feb12d2
-DIST roadsend-php-2.9.3.tar.bz2 2842446 RMD160 9bb7d7f5cb05882996a6e661ff6d8c4577c0be1b SHA1 cd5612b3b422b49683ed1791ecebb1686e639d94 SHA256 fc44d27a2123134e0fdfe24c9c44a95071c47c12c13087b11e7060ccf839555d
-DIST roadsend-php-2.9.4.tar.bz2 2841981 RMD160 5b4b4ce98fd7ab24e31e2c128edd7a72fd7c3039 SHA1 660a4277947dc10d5c76138cd764633e0faca294 SHA256 3dd197c36a08143b8f87d2237d84f7ac063c0c1e15686e2e2b5a4f9ef3ce875b
-DIST roadsend-php-2.9.5.tar.bz2 2839540 RMD160 74ca88cd6c1dd8b787b8518b27cc2adef46c130b SHA1 4c1168406e97435549622b85c238a8b9fa4e7b4f SHA256 8c3cf5080a6491d8336b31f6a16b5a8525b1ac2c257f62bf54eb086737dccb5b
-DIST roadsend-php-2.9.6.tar.bz2 2857375 RMD160 0c49677e7da03344d3bd0086a24676e808300462 SHA1 f08022e03b09b61d540ca88f4544e8071c7a4c50 SHA256 a55c094c7345546a086781eb6bfd4ffacb11400c352a520ee3d2874a0c5b7747
-DIST roadsend-php-2.9.8.tar.bz2 2866263 RMD160 da6156a0ab3e33f68415aed32dc44e1a6f49b855 SHA1 b71a7c07ee100670c777ccc746d31a26e5e4739a SHA256 313fc4eefdd5613939c628cf2f0956ca6556d223eeb5e228d1fb9d2dbb5d139c
-EBUILD roadsend-php-2.9.3.ebuild 1314 RMD160 07fb4fdb30b54f4456e8c48f06af56b42f6c9c57 SHA1 b3660ce5b169ede251d765cdd144504944fa4f3c SHA256 7cc10092ff7202f76e7457c04c6bd37a875dcf71f8c75c2c287ba67301f8d2f6
-EBUILD roadsend-php-2.9.4.ebuild 1314 RMD160 801e7ba8c9d6188de2b50eefa231511230406ea5 SHA1 0acc0a3dd8390e0d8dc77186e2f27946a22154cd SHA256 9831d55f9799c51a2ac30269557714f3ccdb96d148bcde48cf9798267b6b3407
-EBUILD roadsend-php-2.9.5.ebuild 1313 RMD160 29bc7f4c3057ce1396459b50cf68683b95e26077 SHA1 8adc80b22c657bf41f0a73c8217a776d874f0d36 SHA256 86c5a425b863f0fd8c0d9783db3fda68aa482969b8877cb7cf9072344ee5e0fa
-EBUILD roadsend-php-2.9.6.ebuild 1425 RMD160 3b1b81a09712390a2a986cb40150a2d6fba25f24 SHA1 2ac465b5eac439e47c56ad97551cd4f448003e8d SHA256 7fbca6e951063e914c6830fc7a8098c86584f0805ecb9e72d5f96a37084abef6
-EBUILD roadsend-php-2.9.8.ebuild 1329 RMD160 ab9257404c59b98a99815c04bc1bc3ffdddadeac SHA1 9ccda91e028e1306cbdecd0fc88a14e36399181a SHA256 c85d8ddb0a8fdd7b68747db12c6cf2fc1069166e14328992be7751fd4110dc02
-MISC ChangeLog 2019 RMD160 a6f98dc58f7a7af1ff7626a214830da5085c825d SHA1 e1cd020f473f02f3a63c177a932a6b7b1fb839b9 SHA256 1507d1cb0f187746716f3e0b22cd751dad286b69dd5f2ab536e3d4c67fbfdb48
+DIST roadsend-php-2.9.9-p1.tar.bz2 2866273 RMD160 9dd0918daf8bec9cf82493cdd800573879af39d4 SHA1 b8c9d91fc02f9e05f6c883a2a387f1e290724af6 SHA256 4deb375aea13ea06aa99c163c50598909fa4b5dc223861457d1694e0ab7985f2
+EBUILD roadsend-php-2.9.9_p1.ebuild 1244 RMD160 190559d18a933301aa9c914c531fd011c02eb471 SHA1 e1696b286d216aa5acde47d34fb8ab6d8fc25118 SHA256 7e0d73c2064a114cc84a045462e154a25965d5b1bf6322b4a39d9dde4621cce2
+MISC ChangeLog 2428 RMD160 827485792d488ebf83be47572fd3638c39a198d6 SHA1 4834e84da0a7d0687579c1c787a88b9d1849202f SHA256 bb7cdba7794bb1d6f96f3af5828d8fa34909388072a3281a0a2ba98e597b54a1
MISC metadata.xml 657 RMD160 26cec6bbbb3154e9ab2c393212c177d82c4f38e8 SHA1 a1b1564ebe7812eefb77946ff0e6ab33514646c0 SHA256 38c9bd22b03d8218d9030303ddd6273c6f2e258fdcc621f75458feb69904e830
diff --git a/dev-php/roadsend-php/files/bigloo-3.1a-configsupport.patch b/dev-php/roadsend-php/files/bigloo-3.1a-configsupport.patch
deleted file mode 100644
index 2a368384e171..000000000000
--- a/dev-php/roadsend-php/files/bigloo-3.1a-configsupport.patch
+++ /dev/null
@@ -1,40 +0,0 @@
---- a/configure 2008-04-16 17:08:39.000000000 +0300
-+++ b/configure 2008-06-19 01:03:00.000000000 +0300
-@@ -3121,7 +3121,7 @@
-
- # can't figure out how to get this into AC_CHECK_PROG_VER below?
- # have to change it there too
--want_bigloo="3.0c, 3.0d"
-+want_bigloo="3.0c, 3.0d 3.1a"
- want_curl=7.15.1
-
- # defaults
-@@ -3191,7 +3191,7 @@
- ac_prog_version=`$HAVE_BIGLOO -revision 2>&1 | sed -n 's/^.*\([2-9].[0-9][a-z]\).*$/\1/p'`
- case $ac_prog_version in
- '') ac_prog_version_m="v. ?.??, bad"; ac_verc_fail=yes;;
-- 3.0c | 3.0d)
-+ 3.0c | 3.0d | 3.1a)
- ac_prog_version_m="$ac_prog_version, ok"; ac_verc_fail=no;;
- *) ac_prog_version_m="$ac_prog_version, bad"; ac_verc_fail=yes;;
-
---- a/configure.in 2008-04-16 17:08:39.000000000 +0300
-+++ b/configure.in 2008-06-19 01:03:16.000000000 +0300
-@@ -26,7 +26,7 @@
-
- # can't figure out how to get this into AC_CHECK_PROG_VER below?
- # have to change it there too
--want_bigloo="3.0c, 3.0d"
-+want_bigloo="3.0c, 3.0d, 3.1a"
- want_curl=7.15.1
-
- # defaults
-@@ -49,7 +49,7 @@
- bigloo,
- -revision,
- [\([2-9].[0-9][a-z]\)],
-- [3.0c | 3.0d],
-+ [3.0c | 3.0d | 3.1a],
- AC_MSG_FAILURE([Bigloo version $want_bigloo required in the system path]))
-
- BIGLOO_VERSION=$ac_prog_version
diff --git a/dev-php/roadsend-php/roadsend-php-2.9.3.ebuild b/dev-php/roadsend-php/roadsend-php-2.9.3.ebuild
deleted file mode 100644
index 79c9cd599446..000000000000
--- a/dev-php/roadsend-php/roadsend-php-2.9.3.ebuild
+++ /dev/null
@@ -1,50 +0,0 @@
-# Copyright 1999-2008 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/dev-php/roadsend-php/roadsend-php-2.9.3.ebuild,v 1.1 2008/01/01 18:00:30 hkbst Exp $
-
-MY_PVL=${PV/_p/-r}
-MY_PV=${PV%%_p[0-9]}
-MY_PL=${PN}-${MY_PVL}
-MY_P=${PN}-${MY_PV}
-
-DESCRIPTION="Roadsend PHP compiler"
-HOMEPAGE="http://code.roadsend.com/pcc"
-SRC_URI="http://code.roadsend.com/snaps/${MY_PL}.tar.bz2"
-LICENSE="GPL-2 LGPL-2.1"
-
-KEYWORDS="~amd64 ~x86"
-
-DEPEND=">=dev-scheme/bigloo-3.0c
- >=net-misc/curl-7.15.1-r1
- mysql? ( dev-db/mysql )
- sqlite3? ( >=dev-db/sqlite-3.3.12 )
- pcre? ( >=dev-libs/libpcre-6.6 )
- xml? ( dev-libs/libxml2 )
- odbc? ( dev-db/unixODBC )
- fastcgi? ( dev-libs/fcgi )"
-
-RDEPEND="${DEPEND}"
-SLOT="0"
-
-IUSE="debug fastcgi mysql odbc pcre sqlite3 xml"
-#IUSE="fastcgi mysql odbc pcre sqlite3 xml"
-
-S="${WORKDIR}/${MY_P}"
-
-src_compile() {
- econf $(use_with pcre) $(use_with fastcgi fcgi) $(use_with xml) $(use_with mysql) $(use_with sqlite3) $(use_with odbc)
-
- if use debug; then
- emake -j1 || die "make debug failed"
- else
- emake -j1 unsafe || die "make failed"
- fi
-}
-
-src_test() {
- LD_LIBRARY_PATH="${S}/libs/" emake -j1 test || die "standalone tests failed"
-}
-
-src_install() {
- emake -j1 DESTDIR="${D}" install || die "make install failed"
-}
diff --git a/dev-php/roadsend-php/roadsend-php-2.9.4.ebuild b/dev-php/roadsend-php/roadsend-php-2.9.4.ebuild
deleted file mode 100644
index 8c26ceede2da..000000000000
--- a/dev-php/roadsend-php/roadsend-php-2.9.4.ebuild
+++ /dev/null
@@ -1,50 +0,0 @@
-# Copyright 1999-2008 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/dev-php/roadsend-php/roadsend-php-2.9.4.ebuild,v 1.1 2008/01/18 12:21:22 hkbst Exp $
-
-MY_PVL=${PV/_p/-r}
-MY_PV=${PV%%_p[0-9]}
-MY_PL=${PN}-${MY_PVL}
-MY_P=${PN}-${MY_PV}
-
-DESCRIPTION="Roadsend PHP compiler"
-HOMEPAGE="http://code.roadsend.com/pcc"
-SRC_URI="http://code.roadsend.com/snaps/${MY_PL}.tar.bz2"
-LICENSE="GPL-2 LGPL-2.1"
-
-KEYWORDS="~amd64 ~x86"
-
-DEPEND=">=dev-scheme/bigloo-3.0c
- >=net-misc/curl-7.15.1-r1
- mysql? ( dev-db/mysql )
- sqlite3? ( >=dev-db/sqlite-3.3.12 )
- pcre? ( >=dev-libs/libpcre-6.6 )
- xml? ( dev-libs/libxml2 )
- odbc? ( dev-db/unixODBC )
- fastcgi? ( dev-libs/fcgi )"
-
-RDEPEND="${DEPEND}"
-SLOT="0"
-
-IUSE="debug fastcgi mysql odbc pcre sqlite3 xml"
-#IUSE="fastcgi mysql odbc pcre sqlite3 xml"
-
-S="${WORKDIR}/${MY_P}"
-
-src_compile() {
- econf $(use_with pcre) $(use_with fastcgi fcgi) $(use_with xml) $(use_with mysql) $(use_with sqlite3) $(use_with odbc)
-
- if use debug; then
- emake -j1 || die "make debug failed"
- else
- emake -j1 unsafe || die "make failed"
- fi
-}
-
-src_test() {
- LD_LIBRARY_PATH="${S}/libs/" emake -j1 test || die "standalone tests failed"
-}
-
-src_install() {
- emake -j1 DESTDIR="${D}" install || die "make install failed"
-}
diff --git a/dev-php/roadsend-php/roadsend-php-2.9.5.ebuild b/dev-php/roadsend-php/roadsend-php-2.9.5.ebuild
deleted file mode 100644
index 8ae24a0aff4c..000000000000
--- a/dev-php/roadsend-php/roadsend-php-2.9.5.ebuild
+++ /dev/null
@@ -1,50 +0,0 @@
-# Copyright 1999-2008 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/dev-php/roadsend-php/roadsend-php-2.9.5.ebuild,v 1.1 2008/02/15 18:04:24 hkbst Exp $
-
-MY_PVL=${PV/_p/-r}
-MY_PV=${PV%%_p[0-9]}
-MY_PL=${PN}-${MY_PVL}
-MY_P=${PN}-${MY_PV}
-
-DESCRIPTION="Roadsend PHP compiler"
-HOMEPAGE="http://code.roadsend.com/pcc"
-SRC_URI="http://code.roadsend.com/snaps/${MY_PL}.tar.bz2"
-LICENSE="GPL-2 LGPL-2.1"
-
-KEYWORDS="~amd64 ~x86"
-
-DEPEND=">=dev-scheme/bigloo-3.0c
- >=net-misc/curl-7.15.1-r1
- mysql? ( dev-db/mysql )
- sqlite3? ( >=dev-db/sqlite-3.3.12 )
- pcre? ( >=dev-libs/libpcre-6.6 )
- xml? ( dev-libs/libxml2 )
- odbc? ( dev-db/unixODBC )
- fastcgi? ( dev-libs/fcgi )"
-
-RDEPEND="${DEPEND}"
-SLOT="0"
-
-IUSE="debug fastcgi mysql odbc pcre sqlite3 xml"
-#IUSE="fastcgi mysql odbc pcre sqlite3 xml"
-
-S="${WORKDIR}/${MY_P}"
-
-src_compile() {
- econf $(use_with pcre) $(use_with fastcgi fcgi) $(use_with xml) $(use_with mysql) $(use_with sqlite3) $(use_with odbc)
-
- if use debug; then
- emake -j1 debug || die "make debug failed"
- else
- emake -j1 || die "make failed"
- fi
-}
-
-src_test() {
- LD_LIBRARY_PATH="${S}/libs/" emake -j1 test || die "standalone tests failed"
-}
-
-src_install() {
- emake -j1 DESTDIR="${D}" install || die "make install failed"
-}
diff --git a/dev-php/roadsend-php/roadsend-php-2.9.6.ebuild b/dev-php/roadsend-php/roadsend-php-2.9.6.ebuild
deleted file mode 100644
index 3392f2738fe1..000000000000
--- a/dev-php/roadsend-php/roadsend-php-2.9.6.ebuild
+++ /dev/null
@@ -1,57 +0,0 @@
-# Copyright 1999-2008 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/dev-php/roadsend-php/roadsend-php-2.9.6.ebuild,v 1.1 2008/04/25 12:20:43 hkbst Exp $
-
-inherit eutils
-
-MY_PVL=${PV/_p/-r}
-MY_PV=${PV%%_p[0-9]}
-MY_PL=${PN}-${MY_PVL}
-MY_P=${PN}-${MY_PV}
-
-DESCRIPTION="Roadsend PHP compiler"
-HOMEPAGE="http://code.roadsend.com/pcc"
-SRC_URI="http://code.roadsend.com/snaps/${MY_PL}.tar.bz2"
-LICENSE="GPL-2 LGPL-2.1"
-
-KEYWORDS="~amd64 ~x86"
-
-DEPEND=">=dev-scheme/bigloo-3.0c
- >=net-misc/curl-7.15.1-r1
- mysql? ( dev-db/mysql )
- sqlite3? ( >=dev-db/sqlite-3.3.12 )
- pcre? ( >=dev-libs/libpcre-6.6 )
- xml? ( dev-libs/libxml2 )
- odbc? ( dev-db/unixODBC )
- fastcgi? ( dev-libs/fcgi )"
-
-RDEPEND="${DEPEND}"
-SLOT="0"
-
-IUSE="debug fastcgi mysql odbc pcre sqlite3 xml"
-#IUSE="fastcgi mysql odbc pcre sqlite3 xml"
-
-S="${WORKDIR}/${MY_P}"
-
-src_unpack() {
- unpack ${A}; cd "${S}"
- epatch "${FILESDIR}"/bigloo-3.1a-configsupport.patch
-}
-
-src_compile() {
- econf $(use_with pcre) $(use_with fastcgi fcgi) $(use_with xml) $(use_with mysql) $(use_with sqlite3) $(use_with odbc)
-
- if use debug; then
- emake -j1 debug || die "make debug failed"
- else
- emake -j1 || die "make failed"
- fi
-}
-
-src_test() {
- LD_LIBRARY_PATH="${S}/libs/" emake -j1 test || die "standalone tests failed"
-}
-
-src_install() {
- emake -j1 DESTDIR="${D}" install || die "make install failed"
-}
diff --git a/dev-php/roadsend-php/roadsend-php-2.9.8.ebuild b/dev-php/roadsend-php/roadsend-php-2.9.8.ebuild
deleted file mode 100644
index 996eb9a0a9b0..000000000000
--- a/dev-php/roadsend-php/roadsend-php-2.9.8.ebuild
+++ /dev/null
@@ -1,52 +0,0 @@
-# Copyright 1999-2008 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/dev-php/roadsend-php/roadsend-php-2.9.8.ebuild,v 1.1 2008/12/31 00:16:21 hkbst Exp $
-
-inherit eutils
-
-MY_PVL=${PV/_p/-r}
-MY_PV=${PV%%_p[0-9]}
-MY_PL=${PN}-${MY_PVL}
-MY_P=${PN}-${MY_PV}
-
-DESCRIPTION="Roadsend PHP compiler"
-HOMEPAGE="http://code.roadsend.com/pcc"
-SRC_URI="http://code.roadsend.com/snaps/${MY_PL}.tar.bz2"
-LICENSE="GPL-2 LGPL-2.1"
-
-KEYWORDS="~amd64 ~x86"
-
-DEPEND=">=dev-scheme/bigloo-3.0c
- >=net-misc/curl-7.15.1-r1
- mysql? ( dev-db/mysql )
- sqlite3? ( >=dev-db/sqlite-3.3.12 )
- pcre? ( >=dev-libs/libpcre-6.6 )
- xml? ( dev-libs/libxml2 )
- odbc? ( dev-db/unixODBC )
- fastcgi? ( dev-libs/fcgi )"
-
-RDEPEND="${DEPEND}"
-SLOT="0"
-
-IUSE="debug fastcgi mysql odbc pcre sqlite3 xml"
-#IUSE="fastcgi mysql odbc pcre sqlite3 xml"
-
-S="${WORKDIR}/${MY_P}"
-
-src_compile() {
- econf $(use_with pcre) $(use_with fastcgi fcgi) $(use_with xml) $(use_with mysql) $(use_with sqlite3) $(use_with odbc)
-
- if use debug; then
- emake -j1 debug || die "make debug failed"
- else
- emake -j1 || die "make failed"
- fi
-}
-
-src_test() {
- LD_LIBRARY_PATH="${S}/libs/" emake -j1 test || die "standalone tests failed"
-}
-
-src_install() {
- emake -j1 DESTDIR="${D}" install || die "make install failed"
-}
diff --git a/dev-php/roadsend-php/roadsend-php-2.9.9_p1.ebuild b/dev-php/roadsend-php/roadsend-php-2.9.9_p1.ebuild
new file mode 100644
index 000000000000..4e3f05c02c33
--- /dev/null
+++ b/dev-php/roadsend-php/roadsend-php-2.9.9_p1.ebuild
@@ -0,0 +1,55 @@
+# Copyright 1999-2010 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/dev-php/roadsend-php/roadsend-php-2.9.9_p1.ebuild,v 1.1 2010/02/23 03:49:40 yngwin Exp $
+
+EAPI=2
+inherit eutils
+
+MY_PV=${PV/_/-}
+MY_P=${PN}-${MY_PV}
+
+DESCRIPTION="PHP compiler"
+HOMEPAGE="http://code.roadsend.com/pcc"
+SRC_URI="http://code.roadsend.com/snaps/${MY_P}.tar.bz2"
+
+LICENSE="GPL-2 LGPL-2.1"
+SLOT="0"
+KEYWORDS="~amd64 ~x86"
+IUSE="debug fastcgi mysql odbc pcre sqlite xml"
+
+DEPEND="dev-scheme/bigloo
+ net-misc/curl
+ mysql? ( dev-db/mysql )
+ sqlite? ( dev-db/sqlite:3 )
+ pcre? ( dev-libs/libpcre )
+ xml? ( dev-libs/libxml2 )
+ odbc? ( dev-db/unixODBC )
+ fastcgi? ( dev-libs/fcgi )"
+RDEPEND="${DEPEND}"
+
+S="${WORKDIR}/${MY_P}"
+
+src_configure() {
+ econf $(use_with pcre) \
+ $(use_with fastcgi fcgi) \
+ $(use_with xml) \
+ $(use_with mysql) \
+ $(use_with sqlite sqlite3) \
+ $(use_with odbc)
+}
+
+src_compile() {
+ if use debug; then
+ emake -j1 debug || die "make debug failed"
+ else
+ emake -j1 || die "make failed"
+ fi
+}
+
+src_test() {
+ LD_LIBRARY_PATH="${S}/libs/" emake -j1 test || die "standalone tests failed"
+}
+
+src_install() {
+ emake -j1 DESTDIR="${D}" install || die "make install failed"
+}