diff options
Diffstat (limited to 'www-apps')
-rw-r--r-- | www-apps/project2/Manifest | 1 | ||||
-rw-r--r-- | www-apps/project2/project2-742.ebuild | 68 |
2 files changed, 69 insertions, 0 deletions
diff --git a/www-apps/project2/Manifest b/www-apps/project2/Manifest index 82f364f..3f2dfba 100644 --- a/www-apps/project2/Manifest +++ b/www-apps/project2/Manifest @@ -4,3 +4,4 @@ EBUILD project2-695.ebuild 1729 SHA256 3523333b5ee667beb13d6431a689943b1e887e35f EBUILD project2-725.ebuild 1741 SHA256 a1ed319484071866a07c3a93f5e2a5488b57dd4889c34d5f9c63f5477e0e059d SHA512 4ec125b6c41b47d045f3e4560b2b4cc21fd34af1d6e26fafa0d91244b48f84a4dcd6ae0ebfb3aba922ccecde96c3c0f6a29ce5f9344fedab3989ff4313fbfb74 WHIRLPOOL 47ce5b207e869abd9ca15c4ba7478ea758981497654d8625f135aa765c1c3d7353b91106876e3d27aed61456a1bcffe17deead8a562f6fe2e7aba478d322c3d3 EBUILD project2-732.ebuild 1741 SHA256 a1ed319484071866a07c3a93f5e2a5488b57dd4889c34d5f9c63f5477e0e059d SHA512 4ec125b6c41b47d045f3e4560b2b4cc21fd34af1d6e26fafa0d91244b48f84a4dcd6ae0ebfb3aba922ccecde96c3c0f6a29ce5f9344fedab3989ff4313fbfb74 WHIRLPOOL 47ce5b207e869abd9ca15c4ba7478ea758981497654d8625f135aa765c1c3d7353b91106876e3d27aed61456a1bcffe17deead8a562f6fe2e7aba478d322c3d3 EBUILD project2-740.ebuild 1820 SHA256 e3e078b74ab4bd02a408d2326e039fb6f9ab0645d1bb9f9f0592c8f93bd31e70 SHA512 dcd421731b86b3c4a7b9160b6299f16efadce592fc1026083860b626937cda206b79b00c518e51ea129ec3663266b48f1c3cc0349dea6983552e74b76b43ecff WHIRLPOOL 1b7f9184191b597160c76670b7b6dec5a43aa099979bdc4f09ef59619f2cdf8546447214053004bdf176d9997a4bc38f1023031880dc2c8231660a72d1aa11d2 +EBUILD project2-742.ebuild 1820 SHA256 e3e078b74ab4bd02a408d2326e039fb6f9ab0645d1bb9f9f0592c8f93bd31e70 SHA512 dcd421731b86b3c4a7b9160b6299f16efadce592fc1026083860b626937cda206b79b00c518e51ea129ec3663266b48f1c3cc0349dea6983552e74b76b43ecff WHIRLPOOL 1b7f9184191b597160c76670b7b6dec5a43aa099979bdc4f09ef59619f2cdf8546447214053004bdf176d9997a4bc38f1023031880dc2c8231660a72d1aa11d2 diff --git a/www-apps/project2/project2-742.ebuild b/www-apps/project2/project2-742.ebuild new file mode 100644 index 0000000..45e5673 --- /dev/null +++ b/www-apps/project2/project2-742.ebuild @@ -0,0 +1,68 @@ +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 + 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? ( + 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 !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 +} |