diff options
-rw-r--r-- | www-apps/project2/Manifest | 2 | ||||
-rw-r--r-- | www-apps/project2/project2-546.ebuild | 55 |
2 files changed, 57 insertions, 0 deletions
diff --git a/www-apps/project2/Manifest b/www-apps/project2/Manifest index e29bf01..fa6026c 100644 --- a/www-apps/project2/Manifest +++ b/www-apps/project2/Manifest @@ -1,3 +1,5 @@ +EBUILD project2-510.ebuild 1110 RMD160 c96e773067d04c52af46cdf07eb124304e9388cc SHA1 5b0574afa492c501683990e1aedf33c96f3c837c SHA256 3f42aeb1122ed328b0dd7167369871380c2bfb179037ae7abec6fd6d6b006a33 EBUILD project2-511.ebuild 1509 RMD160 18fab5d458245d361376e7f681cb95207045a13c SHA1 0b9a4ff3368d94d58e1b2524c71bf2df6d5e2d2f SHA256 32143415b632db5df147567f1ea42188effa61fa39d6c86994d8c4a6f4b7a73d EBUILD project2-524.ebuild 1509 RMD160 18fab5d458245d361376e7f681cb95207045a13c SHA1 0b9a4ff3368d94d58e1b2524c71bf2df6d5e2d2f SHA256 32143415b632db5df147567f1ea42188effa61fa39d6c86994d8c4a6f4b7a73d +EBUILD project2-546.ebuild 1516 RMD160 19e9e0b19190d53d435a7b1751c507dba06f44a8 SHA1 a3206e5608e48a71ce14471639942a0e55d1f115 SHA256 d69c18e93b028debf4f33f537cb953c98ee407da5b173f396f8903f25f1969f1 EBUILD project2-9999.ebuild 1489 RMD160 68b15f9e763a1ce7a4ad3b90de535c96973d8eb7 SHA1 8a8defe826bcdd24614ff4e046f94a9b2cbef214 SHA256 4409d75225b5f80e9db7d98319abe856ba49f5aaee66174b21ecd0d97743a92c diff --git a/www-apps/project2/project2-546.ebuild b/www-apps/project2/project2-546.ebuild new file mode 100644 index 0000000..192dae9 --- /dev/null +++ b/www-apps/project2/project2-546.ebuild @@ -0,0 +1,55 @@ +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}" +BJAM=`ls -1 /usr/bin/bjam* | tail -1` +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() { + cd ${S}/project2 || die + ${BJAM} ${var} ${odbc} ${pq} ${bt} -q cflags="${CFLAGS}" linkflags="${LDFLAGS}" || die "Compile failed" +} + +src_install() { + cd ${S}/project2 || die + ${BJAM} ${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 +} |