summaryrefslogtreecommitdiff
path: root/www-apps
diff options
context:
space:
mode:
authorDan Goodliffe <dan@randomdan.homeip.net>2015-09-03 01:10:18 +0100
committerDan Goodliffe <dan@randomdan.homeip.net>2015-09-03 01:10:18 +0100
commit132775d815206f7de8a143cae9a1092b6f661d5c (patch)
tree489020db93a94340c90d950c50487ea93c65e9ac /www-apps
parentAdd libadhocutil as a dependency for development (diff)
downloadportage-132775d815206f7de8a143cae9a1092b6f661d5c.tar.bz2
portage-132775d815206f7de8a143cae9a1092b6f661d5c.tar.xz
portage-132775d815206f7de8a143cae9a1092b6f661d5c.zip
Initial test versions of things using libadhocutil
Diffstat (limited to 'www-apps')
-rw-r--r--www-apps/gentoobrowse/Manifest13
-rw-r--r--www-apps/gentoobrowse/gentoobrowse-1.0.0.ebuild2
-rw-r--r--www-apps/gentoobrowse/gentoobrowse-1.0.1.ebuild2
-rw-r--r--www-apps/gentoobrowse/gentoobrowse-1.0.2.ebuild2
-rw-r--r--www-apps/gentoobrowse/gentoobrowse-1.0.3.ebuild2
-rw-r--r--www-apps/gentoobrowse/gentoobrowse-1.1.0.2.ebuild2
-rw-r--r--www-apps/gentoobrowse/gentoobrowse-1.1.0.3.ebuild32
-rw-r--r--www-apps/project2/Manifest3
-rw-r--r--www-apps/project2/project2-1.1.5.ebuild82
9 files changed, 130 insertions, 10 deletions
diff --git a/www-apps/gentoobrowse/Manifest b/www-apps/gentoobrowse/Manifest
index 49b682f..a1f689f 100644
--- a/www-apps/gentoobrowse/Manifest
+++ b/www-apps/gentoobrowse/Manifest
@@ -3,8 +3,11 @@ DIST gentoobrowse-1.0.1.tar.bz2 95672 SHA256 2391fdff94fb22d49fadc996063e134c4a4
DIST gentoobrowse-1.0.2.tar.bz2 95785 SHA256 cfba9e12d5fb6eda74984d7505343fc5b3a13d750f521a68777f47148e519827 SHA512 932ef410502fef6fe77774d82a113a88040ab3b732b178ebda969a490086c6a95cff25fbb30714eab025f227edc6cb595a448a3242576ee76e0ab4d1f47b4783 WHIRLPOOL 4e8d29641c0250ac277cd88953a7c3debc8ddb7fc4706f7328f94b3011f77edf7385ef163837ae396c131c79d222dbac3c1ecb1743424023533eb6e9ccf608ce
DIST gentoobrowse-1.0.3.tar.bz2 95798 SHA256 99855aa3b7633eb531e2da10baf8dd3704fbd3c3ab5cb6611e3b385be1809158 SHA512 80bb5de385b9435704b5159eb94783a230e1906117594d344277108383c570313803ebfb279234d4e81d8663471a745fb661e73b8b0343fdaa1b5bb7f458ba9a WHIRLPOOL e9e9bcf992339bc78280ccd5e179d19f319c855f3de690025f212554f929eb2f8fcad6b63b3bfe78ff0c8f895db4563f246e03ebe8d9b6c4bc884cf0c9548791
DIST gentoobrowse-1.1.0.2.tar.bz2 96204 SHA256 b47c14e9256217c7fb04b88febe8ec177149c07e69c343384a97eaa4cf7927c3 SHA512 0a4ab49b830ceecdaaf497bc1abf36fb4c6d944915f393d7cb2331efeeb3caa1a8e86befa747787f1e32d7d0486c964b2fa0a4f51c193076554ce48073b8f4c1 WHIRLPOOL 14b9a11183523a52432e71138ef049cc2702a03d537e905b13e3521fdfb4d0df8ceae19c13bb1cba8ef7ec964ec7558b660d7a10bf787a907b75625c4fc2ca70
-EBUILD gentoobrowse-1.0.0.ebuild 572 SHA256 270125080d37f742b5653b5ef14e7814b1275657ee4879a924f82daabeef9ee9 SHA512 126accb64aa530ee8174d319b1a7ebeb2a03f5090453e2e698a9fc2e25d289268960da30064b8bec2b23370dee96bfc5ad5ba575816df96912d0905f04ced945 WHIRLPOOL fd2abbfcccaeab7109dae0a4544d701090e83c1f353f2ce6abe7c75e66c0f8d8629f8c05988604921f617cc30348c2dbe98617022976cce2e00f68ff20298860
-EBUILD gentoobrowse-1.0.1.ebuild 572 SHA256 270125080d37f742b5653b5ef14e7814b1275657ee4879a924f82daabeef9ee9 SHA512 126accb64aa530ee8174d319b1a7ebeb2a03f5090453e2e698a9fc2e25d289268960da30064b8bec2b23370dee96bfc5ad5ba575816df96912d0905f04ced945 WHIRLPOOL fd2abbfcccaeab7109dae0a4544d701090e83c1f353f2ce6abe7c75e66c0f8d8629f8c05988604921f617cc30348c2dbe98617022976cce2e00f68ff20298860
-EBUILD gentoobrowse-1.0.2.ebuild 572 SHA256 270125080d37f742b5653b5ef14e7814b1275657ee4879a924f82daabeef9ee9 SHA512 126accb64aa530ee8174d319b1a7ebeb2a03f5090453e2e698a9fc2e25d289268960da30064b8bec2b23370dee96bfc5ad5ba575816df96912d0905f04ced945 WHIRLPOOL fd2abbfcccaeab7109dae0a4544d701090e83c1f353f2ce6abe7c75e66c0f8d8629f8c05988604921f617cc30348c2dbe98617022976cce2e00f68ff20298860
-EBUILD gentoobrowse-1.0.3.ebuild 572 SHA256 270125080d37f742b5653b5ef14e7814b1275657ee4879a924f82daabeef9ee9 SHA512 126accb64aa530ee8174d319b1a7ebeb2a03f5090453e2e698a9fc2e25d289268960da30064b8bec2b23370dee96bfc5ad5ba575816df96912d0905f04ced945 WHIRLPOOL fd2abbfcccaeab7109dae0a4544d701090e83c1f353f2ce6abe7c75e66c0f8d8629f8c05988604921f617cc30348c2dbe98617022976cce2e00f68ff20298860
-EBUILD gentoobrowse-1.1.0.2.ebuild 572 SHA256 270125080d37f742b5653b5ef14e7814b1275657ee4879a924f82daabeef9ee9 SHA512 126accb64aa530ee8174d319b1a7ebeb2a03f5090453e2e698a9fc2e25d289268960da30064b8bec2b23370dee96bfc5ad5ba575816df96912d0905f04ced945 WHIRLPOOL fd2abbfcccaeab7109dae0a4544d701090e83c1f353f2ce6abe7c75e66c0f8d8629f8c05988604921f617cc30348c2dbe98617022976cce2e00f68ff20298860
+DIST gentoobrowse-1.1.0.3.tar.bz2 96255 SHA256 ee96545299c88dbf427e4c798350672eefbf9ca99fee2a4e0a6cbf990633a03b SHA512 e43063067cbe6767fc8c965db6b68ec1bafc1289f090b30fb541c58728ed671b457451ee0dc1288d0be3691edc7d9904b863a27889af2a6c0fa710a2a4921c57 WHIRLPOOL 3d55544b48fed1d8dc5fe87709cbc89f7d1dfc6349e0358bbda6420b8b7048d46112ca1d509b56e5cd66fa604c5eb9f1c22cb7f156f1f1a52ac2f9a529b3184e
+EBUILD gentoobrowse-1.0.0.ebuild 579 SHA256 c0f7b203a5ad012e5459ca44f498cb2371701fb6e4f65e21df1f28126547b727 SHA512 022c18da59796189ec763b6b914abf5402c3ef3107e1a1cabf7410df6489af9b7a90ad192c2916b4e65386c0f0a33629ed93252cb6b2ecd1a132d986316a81cd WHIRLPOOL 66492069c4202416503fd8f8847d87bcf0ecfa321351475009decfade108a200297b1abc184b96ac9e584d22a8baf5fd6ba42a4de5cbce38599549bb24493f77
+EBUILD gentoobrowse-1.0.1.ebuild 579 SHA256 c0f7b203a5ad012e5459ca44f498cb2371701fb6e4f65e21df1f28126547b727 SHA512 022c18da59796189ec763b6b914abf5402c3ef3107e1a1cabf7410df6489af9b7a90ad192c2916b4e65386c0f0a33629ed93252cb6b2ecd1a132d986316a81cd WHIRLPOOL 66492069c4202416503fd8f8847d87bcf0ecfa321351475009decfade108a200297b1abc184b96ac9e584d22a8baf5fd6ba42a4de5cbce38599549bb24493f77
+EBUILD gentoobrowse-1.0.2.ebuild 579 SHA256 c0f7b203a5ad012e5459ca44f498cb2371701fb6e4f65e21df1f28126547b727 SHA512 022c18da59796189ec763b6b914abf5402c3ef3107e1a1cabf7410df6489af9b7a90ad192c2916b4e65386c0f0a33629ed93252cb6b2ecd1a132d986316a81cd WHIRLPOOL 66492069c4202416503fd8f8847d87bcf0ecfa321351475009decfade108a200297b1abc184b96ac9e584d22a8baf5fd6ba42a4de5cbce38599549bb24493f77
+EBUILD gentoobrowse-1.0.3.ebuild 579 SHA256 c0f7b203a5ad012e5459ca44f498cb2371701fb6e4f65e21df1f28126547b727 SHA512 022c18da59796189ec763b6b914abf5402c3ef3107e1a1cabf7410df6489af9b7a90ad192c2916b4e65386c0f0a33629ed93252cb6b2ecd1a132d986316a81cd WHIRLPOOL 66492069c4202416503fd8f8847d87bcf0ecfa321351475009decfade108a200297b1abc184b96ac9e584d22a8baf5fd6ba42a4de5cbce38599549bb24493f77
+EBUILD gentoobrowse-1.1.0.2.ebuild 579 SHA256 c0f7b203a5ad012e5459ca44f498cb2371701fb6e4f65e21df1f28126547b727 SHA512 022c18da59796189ec763b6b914abf5402c3ef3107e1a1cabf7410df6489af9b7a90ad192c2916b4e65386c0f0a33629ed93252cb6b2ecd1a132d986316a81cd WHIRLPOOL 66492069c4202416503fd8f8847d87bcf0ecfa321351475009decfade108a200297b1abc184b96ac9e584d22a8baf5fd6ba42a4de5cbce38599549bb24493f77
+EBUILD gentoobrowse-1.1.0.3.ebuild 580 SHA256 9b8b049298fd61d16901b3956eb82447795537905287390c3b0324ec4305ef57 SHA512 f01aa9cbb46eb23063edc25130d6ea68bcb748f11d7f2a11585965a1dbef0963cc5b7909b2fea4afc647180702c180dbf5bc2cb773380a4f3f68342d77b1b191 WHIRLPOOL 9b807393d9380663ec02cf387403527ad1ab4575892deeba97148b6eeebf3e3fa7a980289261adbc576b96d532cc231bb5322989e2404211ae37e18133008f66
+MISC ChangeLog 1376 SHA256 a47731ed98206233b070a6b5c0ed25c46eda55d7c10eca3ccea63c709ad5adf0 SHA512 9ebc3c1ec2118a1c03d414d4f5724c0b6245efb16fc7abb12c43bbdb61d7dcd0754e191e14a81b6cad7f87dee0e5036c20a343371438666aa3fea8e2d40b799b WHIRLPOOL eaf1b9494a7a7621333a2d9dd51ce67487f63d129fc1d1e51c1465e32b63b7b5b6ff110f268a3862154f192eb0fe8ec7ca5ed9d2c021a646b8f3b6f2e377bc87
diff --git a/www-apps/gentoobrowse/gentoobrowse-1.0.0.ebuild b/www-apps/gentoobrowse/gentoobrowse-1.0.0.ebuild
index 31c66b1..92b7bed 100644
--- a/www-apps/gentoobrowse/gentoobrowse-1.0.0.ebuild
+++ b/www-apps/gentoobrowse/gentoobrowse-1.0.0.ebuild
@@ -11,7 +11,7 @@ KEYWORDS="amd64 x86"
IUSE=""
-DEPEND="www-apps/project2[fastcgi,postgres]"
+DEPEND="<www-apps/project2-1.1.5[fastcgi,postgres]"
pkg_setup() {
webapp_pkg_setup
diff --git a/www-apps/gentoobrowse/gentoobrowse-1.0.1.ebuild b/www-apps/gentoobrowse/gentoobrowse-1.0.1.ebuild
index 31c66b1..92b7bed 100644
--- a/www-apps/gentoobrowse/gentoobrowse-1.0.1.ebuild
+++ b/www-apps/gentoobrowse/gentoobrowse-1.0.1.ebuild
@@ -11,7 +11,7 @@ KEYWORDS="amd64 x86"
IUSE=""
-DEPEND="www-apps/project2[fastcgi,postgres]"
+DEPEND="<www-apps/project2-1.1.5[fastcgi,postgres]"
pkg_setup() {
webapp_pkg_setup
diff --git a/www-apps/gentoobrowse/gentoobrowse-1.0.2.ebuild b/www-apps/gentoobrowse/gentoobrowse-1.0.2.ebuild
index 31c66b1..92b7bed 100644
--- a/www-apps/gentoobrowse/gentoobrowse-1.0.2.ebuild
+++ b/www-apps/gentoobrowse/gentoobrowse-1.0.2.ebuild
@@ -11,7 +11,7 @@ KEYWORDS="amd64 x86"
IUSE=""
-DEPEND="www-apps/project2[fastcgi,postgres]"
+DEPEND="<www-apps/project2-1.1.5[fastcgi,postgres]"
pkg_setup() {
webapp_pkg_setup
diff --git a/www-apps/gentoobrowse/gentoobrowse-1.0.3.ebuild b/www-apps/gentoobrowse/gentoobrowse-1.0.3.ebuild
index 31c66b1..92b7bed 100644
--- a/www-apps/gentoobrowse/gentoobrowse-1.0.3.ebuild
+++ b/www-apps/gentoobrowse/gentoobrowse-1.0.3.ebuild
@@ -11,7 +11,7 @@ KEYWORDS="amd64 x86"
IUSE=""
-DEPEND="www-apps/project2[fastcgi,postgres]"
+DEPEND="<www-apps/project2-1.1.5[fastcgi,postgres]"
pkg_setup() {
webapp_pkg_setup
diff --git a/www-apps/gentoobrowse/gentoobrowse-1.1.0.2.ebuild b/www-apps/gentoobrowse/gentoobrowse-1.1.0.2.ebuild
index 31c66b1..92b7bed 100644
--- a/www-apps/gentoobrowse/gentoobrowse-1.1.0.2.ebuild
+++ b/www-apps/gentoobrowse/gentoobrowse-1.1.0.2.ebuild
@@ -11,7 +11,7 @@ KEYWORDS="amd64 x86"
IUSE=""
-DEPEND="www-apps/project2[fastcgi,postgres]"
+DEPEND="<www-apps/project2-1.1.5[fastcgi,postgres]"
pkg_setup() {
webapp_pkg_setup
diff --git a/www-apps/gentoobrowse/gentoobrowse-1.1.0.3.ebuild b/www-apps/gentoobrowse/gentoobrowse-1.1.0.3.ebuild
new file mode 100644
index 0000000..02a322d
--- /dev/null
+++ b/www-apps/gentoobrowse/gentoobrowse-1.1.0.3.ebuild
@@ -0,0 +1,32 @@
+EAPI=5
+
+inherit webapp depend.apache eutils
+
+DESCRIPTION="Gentoo Browse is a Project2 based web site for viewing Gentoo packages"
+SRC_URI="http://releases.randomdan.homeip.net/git/${P}.tar.bz2"
+HOMEPAGE="http://gentoobrowse.randomdan.homip.net/"
+
+LICENSE="GPL"
+KEYWORDS="amd64 x86"
+
+IUSE=""
+
+DEPEND=">=www-apps/project2-1.1.5[fastcgi,postgres]"
+
+pkg_setup() {
+ webapp_pkg_setup
+}
+
+src_compile() {
+ cd ${S}/gentoobrowse
+ ln -s /usr/bin/p2fcgi || die
+}
+src_install () {
+ webapp_src_preinst
+
+ insinto "${MY_HTDOCSDIR}"
+ cd ${S}/gentoobrowse
+ doins -r . || die
+
+ webapp_src_install
+}
diff --git a/www-apps/project2/Manifest b/www-apps/project2/Manifest
index 19ba07d..5bf3bb2 100644
--- a/www-apps/project2/Manifest
+++ b/www-apps/project2/Manifest
@@ -6,6 +6,7 @@ DIST project2-1.1.2.1.tar.bz2 158380 SHA256 51fbc78579368966883ce90758b0c6429b44
DIST project2-1.1.3.tar.bz2 159477 SHA256 3a1b8a21212b1038d2a7a30a3159bb400e9ac9f87ea6f8fc4ac71943cee7e446 SHA512 6c8db21248e463c0ec6018fc48a4e374800e2c6a1b1ad19a7b25c98798c9be4dd9de479a8e4772de61c3547a2c4ad43145f4300dd6a2a60fa2fe072bd24dbefa WHIRLPOOL 74196357ff6c83e80b8530e58629a3b6e903d285024ae8d988e68cd381fb6ac1b571dd58de1c3201434642526401375b7f03c37a5c35b27051b327552198a34c
DIST project2-1.1.4.3.tar.bz2 169692 SHA256 b43a4389ef9e996197979cb7daa46b0f295badb5d19886812ee6ef5308b46b53 SHA512 92e6cd2024e0f96088b4aafeba203aa1b95f57fb05422d1be513f714f4ade7cfe9541bfc16bc373efe6f27ca53034dd70bc3ef239b194125151515e2a572ae0a WHIRLPOOL 6281b86b4565ffe5075a0e63263a211f79c2cf42041ac36e58758f8f9e033e146759cd370907a706b1a9846f0d9b63bf8a605f96acc2c6d68380c02b27cb1491
DIST project2-1.1.4.4.tar.bz2 168118 SHA256 92754c63ff812f15e9156c1e30d2afda82ff0b8f66cc0a9c49081403469e8637 SHA512 eda41385d4ecb1bc48a91b7807d1ea0acc8b05065a2b7fd93439e8d6dc8ead45802e9c6de6cb35773437097c7aa1c0022482da65ccc2486c4e5d0135d2593a85 WHIRLPOOL b73563af14371a660182f28a95c746ce45b4bc01f2f4d704727a70965aaeb331ffe2a032d791c6d002251d049d7041c7975ff89eb125d63e0ba50547bd78ad78
+DIST project2-1.1.5.tar.bz2 159761 SHA256 10cc567bede3c0c097e15a3d5f116bd1e777d82182a7a3fd71c060f7a9b46d62 SHA512 da49e459e94f620aca404560dd6c1a8b04af15e59da7a20e60eb6b2ba1ca2f33a5659db8cd9bdda59eb8b7218995f50d88ab3289eac0d0637158ac03802baddb WHIRLPOOL 5e7e724c5de18997728bc5ac03ee75480e2d9469d87c1ef9ca48c10afbe32bffe148f51950a9f83217305a0563b7ff6e7ef964a95e48d80e622324f9b08ace6a
EBUILD project2-1.0.1.ebuild 2018 SHA256 930d7a58b95376ae53d607327962b306617cdcffb5693707b124fbc8b7fd2fa8 SHA512 45b2224b404bc79853365c2926830e6076a04b56f7fb4fd3c596158264ef95b9018f23f9044d242761f574b6574c15d6df0e88019930ad1c745320940df98c3e WHIRLPOOL 6f068038655a8b12dab2fd5b4e2ce527f3d4d8cd3415a1b61131c84313b49ecae7ecabccb461da4d903ea987e0205b20f6b097552e90ebdcda56bf2a90d9706e
EBUILD project2-1.0.2.ebuild 2018 SHA256 930d7a58b95376ae53d607327962b306617cdcffb5693707b124fbc8b7fd2fa8 SHA512 45b2224b404bc79853365c2926830e6076a04b56f7fb4fd3c596158264ef95b9018f23f9044d242761f574b6574c15d6df0e88019930ad1c745320940df98c3e WHIRLPOOL 6f068038655a8b12dab2fd5b4e2ce527f3d4d8cd3415a1b61131c84313b49ecae7ecabccb461da4d903ea987e0205b20f6b097552e90ebdcda56bf2a90d9706e
EBUILD project2-1.0.3.ebuild 2018 SHA256 930d7a58b95376ae53d607327962b306617cdcffb5693707b124fbc8b7fd2fa8 SHA512 45b2224b404bc79853365c2926830e6076a04b56f7fb4fd3c596158264ef95b9018f23f9044d242761f574b6574c15d6df0e88019930ad1c745320940df98c3e WHIRLPOOL 6f068038655a8b12dab2fd5b4e2ce527f3d4d8cd3415a1b61131c84313b49ecae7ecabccb461da4d903ea987e0205b20f6b097552e90ebdcda56bf2a90d9706e
@@ -14,3 +15,5 @@ EBUILD project2-1.1.2.1.ebuild 2178 SHA256 dfbe7fb93bdbe3b8cb213417d961692afb48c
EBUILD project2-1.1.3.ebuild 2194 SHA256 6c77a7e56e86eeaa76df5dd825e0f4866bf8bdb52d5f3b23f98f8fe4b9cdec99 SHA512 58393bc0a1434c6d42c72f72935a7e29191f49e557b22221902d0655b69ab49ef67bde1adfe4f0120ca5bedc15178e330d92e599ab1449d321ddadf2c87608ce WHIRLPOOL aad6690421736b67465efa7fd6ec3f16b38bf8a471423ae7337e34066129a3927c422c8412067bed5961fa496ff4de7cf0865353abe2df43c5d93ccf2bf01b04
EBUILD project2-1.1.4.3.ebuild 2194 SHA256 6c77a7e56e86eeaa76df5dd825e0f4866bf8bdb52d5f3b23f98f8fe4b9cdec99 SHA512 58393bc0a1434c6d42c72f72935a7e29191f49e557b22221902d0655b69ab49ef67bde1adfe4f0120ca5bedc15178e330d92e599ab1449d321ddadf2c87608ce WHIRLPOOL aad6690421736b67465efa7fd6ec3f16b38bf8a471423ae7337e34066129a3927c422c8412067bed5961fa496ff4de7cf0865353abe2df43c5d93ccf2bf01b04
EBUILD project2-1.1.4.4.ebuild 2194 SHA256 6c77a7e56e86eeaa76df5dd825e0f4866bf8bdb52d5f3b23f98f8fe4b9cdec99 SHA512 58393bc0a1434c6d42c72f72935a7e29191f49e557b22221902d0655b69ab49ef67bde1adfe4f0120ca5bedc15178e330d92e599ab1449d321ddadf2c87608ce WHIRLPOOL aad6690421736b67465efa7fd6ec3f16b38bf8a471423ae7337e34066129a3927c422c8412067bed5961fa496ff4de7cf0865353abe2df43c5d93ccf2bf01b04
+EBUILD project2-1.1.5.ebuild 2119 SHA256 4f9252ff85dc03d5ac988fa1419c258328160cee6d8756ff7efc0af22946c311 SHA512 ee5d7d76d9082830851955c330012ccff7fd87f7b9c85d933ba38ef106d44f9a25786dddaa53315a1debba74746ed307ee85f563e722f2c6522d87a986e51e49 WHIRLPOOL f37dc42f89346dac2054a8c586060abeb27b329ed9e921fcd719116db7d714814394fc127a506b40dc27ef60a5f23ee6dbd704b0737a36fa90a3f783fde95a81
+MISC ChangeLog 19118 SHA256 b2d44579892539d50a0ef5df65f066251636b38c792db520e306192c63a79a2e SHA512 83f3f309a92a3daccd524e5b20ae930c8110e51b73068f359b071372df5d711ce788cb23abbcd90fd6abd8f0004c1246aa70c013b1f896df3e031e9fa6cd4724 WHIRLPOOL 9bf07619aa87fe8c40af4ba9af9c05707b818257b226f6c7fe8ff18d0b105eefd18180e63bd9bef46d485a015064efb106e697b003c5de1a3aa669f97c6e6d31
diff --git a/www-apps/project2/project2-1.1.5.ebuild b/www-apps/project2/project2-1.1.5.ebuild
new file mode 100644
index 0000000..76cafc7
--- /dev/null
+++ b/www-apps/project2/project2-1.1.5.ebuild
@@ -0,0 +1,82 @@
+EAPI="5"
+
+DESCRIPTION="User configured application engine"
+HOMEPAGE="http://project2.randomdan.homeip.net"
+
+SRC_URI="http://releases.randomdan.homeip.net/git/${P}.tar.bz2"
+LICENSE="GPL"
+SLOT="0"
+KEYWORDS="x86 amd64"
+IUSE="debug +docs mysql odbc postgres sqlite unittest +console +web +fastcgi +daemon"
+
+DEPEND="
+ dev-util/boost-build
+ sys-devel/flex
+ net-libs/libesmtp
+ dev-libs/libadhocutil
+ www-client/lynx
+ >=dev-cpp/libxmlpp-2.36
+ sys-libs/zlib
+ >=sys-devel/gcc-4.5
+ >=dev-cpp/glibmm-2.28
+ >=dev-libs/boost-1.45
+ >=dev-libs/Ice-3.5
+ mysql? ( virtual/mysql )
+ odbc? ( dev-db/unixODBC )
+ postgres? ( dev-db/postgresql )
+ sqlite? ( dev-db/sqlite )
+ web? (
+ fastcgi? (
+ dev-libs/cgicc
+ virtual/httpd-fastcgi
+ dev-libs/fcgi
+ )
+ )
+ docs? ( app-doc/doxygen )
+ dev-cpp/slicer:=
+ "
+RDEPEND="${DEPEND}"
+use !debug && opts+=" variant=release"
+use !odbc && opts+=" odbc=no"
+use !mysql && opts+=" mysql=no"
+use !postgres && opts+=" pq=no"
+use !sqlite && opts+=" sqlite=no"
+
+src_prepare() {
+ sed -ie "s|^using gcc .*|using gcc : : : <compileflags>\"${CXXFLAGS}\" <linkflags>\"${LDFLAGS}\" ;|" ${S}/Jamroot.jam
+}
+
+src_configure() {
+ (
+ echo "alias finalbin : "
+ use console && echo " console//p2console "
+ use web && echo " cgi//p2cgi "
+ use web && use fastcgi && echo " cgi//p2fcgi "
+ use daemon && echo " daemon//p2daemon "
+ echo " ; "
+ echo "alias finallib : "
+ use unittest && echo " ut//p2ut "
+ echo " ; "
+ ) >> ${S}/project2/Jamfile.jam
+}
+
+src_compile() {
+ cd ${S}/project2 || die
+ setarch $(uname -m) -RL \
+ b2 ${BJAMOPTS} ${opts} finalbin finallib -q \
+ || die "Compile failed"
+}
+
+src_install() {
+ cd ${S}/project2 || die
+ setarch $(uname -m) -RL \
+ b2 ${BJAMOPTS} ${opts} install -q \
+ --prefix=${D}/usr \
+ || die "Installed failed"
+ b2 installheaders --includedir=${D}/usr/include/project2 || die "Install headers failed"
+ b2 installheadersdb --includedir=${D}/usr/include/project2/sql || die "Install headers failed"
+ if use docs ; then
+ mkdir -p ${D}/usr/share/doc/${PN}
+ (cat Doxyfile ; echo OUTPUT_DIRECTORY=${D}/usr/share/doc/${PN}) | doxygen - || die "Build docs failed"
+ fi
+}