summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--www-apps/project2/Manifest1
-rw-r--r--www-apps/project2/project2-712.ebuild65
2 files changed, 66 insertions, 0 deletions
diff --git a/www-apps/project2/Manifest b/www-apps/project2/Manifest
index 627c283..d24ecfe 100644
--- a/www-apps/project2/Manifest
+++ b/www-apps/project2/Manifest
@@ -1,4 +1,5 @@
EBUILD project2-686.ebuild 1705 RMD160 f8d5d181b9490d999082f8e73b6bd506d49ceba3 SHA1 13e45e8de3bdae0dd4dbb0ca67613d3bc84fdbe0 SHA256 c3325105cafc8b8ceeab7c904b73cda729b8f674446f74a88d3a1b1aa52423cf
EBUILD project2-691.ebuild 1720 RMD160 2a03bc779cb4c2f3261f489e3ad7363de973325f SHA1 a2243b351a93af87f7f6f601dad0aad234a1f943 SHA256 886e2193a9d2d378e203eb0e2c3bfaefe3238a7631f6b85866a9f9d84c40a16e
EBUILD project2-695.ebuild 1720 RMD160 2a03bc779cb4c2f3261f489e3ad7363de973325f SHA1 a2243b351a93af87f7f6f601dad0aad234a1f943 SHA256 886e2193a9d2d378e203eb0e2c3bfaefe3238a7631f6b85866a9f9d84c40a16e
+EBUILD project2-712.ebuild 1720 RMD160 2a03bc779cb4c2f3261f489e3ad7363de973325f SHA1 a2243b351a93af87f7f6f601dad0aad234a1f943 SHA256 886e2193a9d2d378e203eb0e2c3bfaefe3238a7631f6b85866a9f9d84c40a16e
EBUILD project2-9999.ebuild 1621 RMD160 2a922298c20b4b559309cc45d8bd7bddf649528d SHA1 c5e062b4a6c14f651f5b08eef5f768866bb2e03e SHA256 3819ecbde99a5068ff35b18086ca13344e80763c00c0f312ff8a1e830827e48e
diff --git a/www-apps/project2/project2-712.ebuild b/www-apps/project2/project2-712.ebuild
new file mode 100644
index 0000000..abb4e91
--- /dev/null
+++ b/www-apps/project2/project2-712.ebuild
@@ -0,0 +1,65 @@
+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
+ sys-libs/zlib
+ >=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_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} ${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} ${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
+}