summaryrefslogtreecommitdiff
path: root/www-apps
diff options
context:
space:
mode:
Diffstat (limited to 'www-apps')
-rw-r--r--www-apps/project2/Manifest1
-rw-r--r--www-apps/project2/project2-794.ebuild67
2 files changed, 68 insertions, 0 deletions
diff --git a/www-apps/project2/Manifest b/www-apps/project2/Manifest
index b3c9cad..d96816d 100644
--- a/www-apps/project2/Manifest
+++ b/www-apps/project2/Manifest
@@ -9,3 +9,4 @@ EBUILD project2-775.ebuild 1792 SHA256 46e59c946de1f63aeadf89eeb9a2513196b788942
EBUILD project2-779.ebuild 1799 SHA256 e1aac2ce75e0894eeabc445da0866d56d07296c3ac20cd8f80d3664c4048d1d0 SHA512 2a2b2a871571f6e2cbfe1a94d152da7a331d9527a802ac9fc1a16d84577aaac2d9dc7fd2ab9b8899bd55f145fab3859c47ffbcde27c6fb8edc1c5e93a1967363 WHIRLPOOL efef457e406a7f06dec6e83836e85050109555cb8192c602027f9a912dbf29738091a0382489653e01530e61605c2971aaa9208166214d80bb3bf07fe0721519
EBUILD project2-781.ebuild 1799 SHA256 e1aac2ce75e0894eeabc445da0866d56d07296c3ac20cd8f80d3664c4048d1d0 SHA512 2a2b2a871571f6e2cbfe1a94d152da7a331d9527a802ac9fc1a16d84577aaac2d9dc7fd2ab9b8899bd55f145fab3859c47ffbcde27c6fb8edc1c5e93a1967363 WHIRLPOOL efef457e406a7f06dec6e83836e85050109555cb8192c602027f9a912dbf29738091a0382489653e01530e61605c2971aaa9208166214d80bb3bf07fe0721519
EBUILD project2-783.ebuild 1799 SHA256 e1aac2ce75e0894eeabc445da0866d56d07296c3ac20cd8f80d3664c4048d1d0 SHA512 2a2b2a871571f6e2cbfe1a94d152da7a331d9527a802ac9fc1a16d84577aaac2d9dc7fd2ab9b8899bd55f145fab3859c47ffbcde27c6fb8edc1c5e93a1967363 WHIRLPOOL efef457e406a7f06dec6e83836e85050109555cb8192c602027f9a912dbf29738091a0382489653e01530e61605c2971aaa9208166214d80bb3bf07fe0721519
+EBUILD project2-794.ebuild 1799 SHA256 e1aac2ce75e0894eeabc445da0866d56d07296c3ac20cd8f80d3664c4048d1d0 SHA512 2a2b2a871571f6e2cbfe1a94d152da7a331d9527a802ac9fc1a16d84577aaac2d9dc7fd2ab9b8899bd55f145fab3859c47ffbcde27c6fb8edc1c5e93a1967363 WHIRLPOOL efef457e406a7f06dec6e83836e85050109555cb8192c602027f9a912dbf29738091a0382489653e01530e61605c2971aaa9208166214d80bb3bf07fe0721519
diff --git a/www-apps/project2/project2-794.ebuild b/www-apps/project2/project2-794.ebuild
new file mode 100644
index 0000000..b070e30
--- /dev/null
+++ b/www-apps/project2/project2-794.ebuild
@@ -0,0 +1,67 @@
+EAPI="3"
+inherit subversion
+
+DESCRIPTION="User configured application engine"
+HOMEPAGE="http://project2.randomdan.homeip.net"
+
+LICENSE="GPL"
+SLOT="0"
+KEYWORDS="x86 amd64"
+IUSE="debug +docs mysql odbc postgres +console +web +fastcgi"
+
+DEPEND="
+ dev-util/boost-build
+ net-libs/libesmtp
+ 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
+ mysql? ( dev-db/mysql )
+ odbc? ( dev-db/unixODBC )
+ postgres? ( dev-db/postgresql-base )
+ web? (
+ 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 !mysql && odbc="mysql=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_prepare() {
+ sed -ie "s|^using gcc .*|using gcc : : : <compileflags>\"${CXXFLAGS}\" <linkflags>\"${LDFLAGS}\" ;|" ${S}/Jamroot.jam
+}
+
+src_compile() {
+ BJAM=`ls -1 /usr/bin/bjam* | tail -1`
+ cd ${S}/project2 || die
+ setarch $(uname -m) -RL \
+ ${BJAM} ${BJAMOPTS} ${var} ${odbc} ${mysql} ${pq} ${bt} -q \
+ || 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} ${mysql} ${pq} ${it} -q \
+ --bindir=${D}/usr/share/webapps/project2 --libdir=${D}/usr/lib \
+ || die "Installed 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
+}