diff options
author | randomdan <randomdan@localhost> | 2011-10-25 19:42:15 +0000 |
---|---|---|
committer | randomdan <randomdan@localhost> | 2011-10-25 19:42:15 +0000 |
commit | a9da3b356af96dd5b44394d8429ec14ee2822a1a (patch) | |
tree | 97a64f6152468ae341e0ecab5758e8ac6fa9c521 | |
parent | v2.1.0 release (diff) | |
download | portage-a9da3b356af96dd5b44394d8429ec14ee2822a1a.tar.bz2 portage-a9da3b356af96dd5b44394d8429ec14ee2822a1a.tar.xz portage-a9da3b356af96dd5b44394d8429ec14ee2822a1a.zip |
Bump
-rw-r--r-- | www-apps/project2/Manifest | 1 | ||||
-rw-r--r-- | www-apps/project2/project2-597.ebuild | 60 |
2 files changed, 61 insertions, 0 deletions
diff --git a/www-apps/project2/Manifest b/www-apps/project2/Manifest index aaf0932..545d64b 100644 --- a/www-apps/project2/Manifest +++ b/www-apps/project2/Manifest @@ -3,4 +3,5 @@ EBUILD project2-524.ebuild 1509 RMD160 18fab5d458245d361376e7f681cb95207045a13c EBUILD project2-546.ebuild 1516 RMD160 19e9e0b19190d53d435a7b1751c507dba06f44a8 SHA1 a3206e5608e48a71ce14471639942a0e55d1f115 SHA256 d69c18e93b028debf4f33f537cb953c98ee407da5b173f396f8903f25f1969f1 EBUILD project2-586.ebuild 1648 RMD160 0b8c6bc4e8564b544654365d0150b657fcd60282 SHA1 81f3e8501887f1e647b07f6903bc53a047cde473 SHA256 a6033b73096ac829c51dc98dc19ba084758ae008adcb50a2a063bd9b9126cbcf EBUILD project2-592.ebuild 1648 RMD160 0b8c6bc4e8564b544654365d0150b657fcd60282 SHA1 81f3e8501887f1e647b07f6903bc53a047cde473 SHA256 a6033b73096ac829c51dc98dc19ba084758ae008adcb50a2a063bd9b9126cbcf +EBUILD project2-597.ebuild 1648 RMD160 0b8c6bc4e8564b544654365d0150b657fcd60282 SHA1 81f3e8501887f1e647b07f6903bc53a047cde473 SHA256 a6033b73096ac829c51dc98dc19ba084758ae008adcb50a2a063bd9b9126cbcf EBUILD project2-9999.ebuild 1621 RMD160 2a922298c20b4b559309cc45d8bd7bddf649528d SHA1 c5e062b4a6c14f651f5b08eef5f768866bb2e03e SHA256 3819ecbde99a5068ff35b18086ca13344e80763c00c0f312ff8a1e830827e48e diff --git a/www-apps/project2/project2-597.ebuild b/www-apps/project2/project2-597.ebuild new file mode 100644 index 0000000..b169afd --- /dev/null +++ b/www-apps/project2/project2-597.ebuild @@ -0,0 +1,60 @@ +inherit subversion + +DESCRIPTION="User configured application engine" +HOMEPAGE="http://project2.randomdan.homeip.net" + +EAPI="3" +LICENSE="GPL" +SLOT="0" +KEYWORDS="x86 amd64" +IUSE="debug +docs odbc postgres +console +web +fastcgi" + +DEPEND=" + dev-util/boost-build + net-libs/libesmtp + www-client/lynx + dev-cpp/libxmlpp + >=dev-cpp/glibmm-2.28 + >=dev-libs/boost-1.45 + odbc? ( dev-db/unixODBC ) + postgres? ( dev-db/postgresql-base ) + web? ( + www-apache/mod_transform + fastcgi? ( + dev-libs/cgicc + virtual/httpd-fastcgi + dev-libs/fcgi + ) + ) + docs? ( app-doc/doxygen ) + " +RDEPEND="${DEPEND}" +ESVN_REPO_URI="http://svn.randomdan.homeip.net/src/trunk" +ESVN_REVISION="${PV}" +use !debug && var="variant=release" +use !odbc && odbc="odbc=no" +use !postgres && pq="pq=no" +use console && bt="$bt p2console" && it="$it installp2con" +use web && bt="$bt p2cgi" && it="$it installp2cgi" +use web && use fastcgi && bt="$bt p2fcgi" && it="$it installp2fcgi" + +src_compile() { + BJAM=`ls -1 /usr/bin/bjam* | tail -1` + cd ${S}/project2 || die + setarch $(uname -m) -RL \ + ${BJAM} ${BJAMOPTS} ${var} ${odbc} ${pq} ${bt} -q \ + cflags="${CFLAGS}" linkflags="${LDFLAGS}" || die "Compile failed" +} + +src_install() { + BJAM=`ls -1 /usr/bin/bjam* | tail -1` + cd ${S}/project2 || die + setarch $(uname -m) -RL \ + ${BJAM} ${BJAMOPTS} ${var} ${odbc} ${pq} ${it} -q \ + --bindir=${D}/usr/share/webapps/project2 --libdir=${D}/usr/lib \ + cflags="${CFLAGS}" linkflags="${LDFLAGS}" || die "Installed failed" + mkdir -p ${D}/usr/share/doc/${P} + if use docs ; then + (cat Doxyfile ; echo OUTPUT_DIRECTORY=${D}/usr/share/doc/${P}) | doxygen - || die "Build docs failed" + fi +} |