diff options
-rw-r--r-- | www-apps/project2/Manifest | 4 | ||||
-rw-r--r-- | www-apps/project2/project2-1.2.8-r1.ebuild | 1 | ||||
-rw-r--r-- | www-apps/project2/project2-1.2.8.1.ebuild | 68 |
3 files changed, 72 insertions, 1 deletions
diff --git a/www-apps/project2/Manifest b/www-apps/project2/Manifest index 295826e..358df9d 100644 --- a/www-apps/project2/Manifest +++ b/www-apps/project2/Manifest @@ -1,2 +1,4 @@ +DIST project2-1.2.8.1.tar.xz 129824 SHA256 3ceb664b1411f7fabf3df9ef8fe18f17990d55014ac79eaad04254b13d562a08 SHA512 0e1b682673d60a54b315580775aa17d6dab62c8b0de90b1bff41f9d2d83451efc149d850527ea3591e233c8af6246de743f9fc2005e679ef89c702953ceea333 WHIRLPOOL 268023204f0b936e5b88a4f86df852c5ffef33f85a4e76a5663728902d7ca6438d89eeb2900f7dd7e1a7f496e813c2a66a5ab21528896beb22dfc5335ca30cdb DIST project2-1.2.8.tar.xz 129916 SHA256 b06191b1d027e80000663ed75df06c7b0c2c96362313e18b1c3707a33534402b SHA512 92f72cf16a58163dce94a564f17ea75cd895333c1c03bc5102ef78fd5fcdab3a7d245f0e0d09574c1fcadaaac78466a4119cc50eb52f3173c5ac4540bdf1fbc2 WHIRLPOOL ce6697092ccd87029754d2902b363c042b96aff1d2197b1e439d7192f3f803e49fd3b81343602d2fe7918a55abe34eb0f1ff4887eef5ed65295e13afbc615614 -EBUILD project2-1.2.8-r1.ebuild 1485 SHA256 94af93c83683b7be34ad9159e7cc30a469ac8a92c1e16ac51235d17153224624 SHA512 99e743dbe1fab37f76f53bf1ffb8f643738ca4c9a273fb2abee9302bf2e5b95f32ad02391acabf7db8996ff50b62ae905f40605ef84693a8b4b20136aa5774a1 WHIRLPOOL 41a0621d2f13554451a3ff87b133d521bd1bf093baa7dfefa61923273a148ac081d14abdba9d693295cf129f540839e2b5c1842176cad1485be7728ce6e9fa9e +EBUILD project2-1.2.8-r1.ebuild 1509 SHA256 c0fff6d49438f5d08cf6b89877f3d690dce740af220a6b4ffa839c0be00ba623 SHA512 c8b0f528ce8b250708afe4851e60f4a7305265e738b6eba17c4214997e20656a8474feadfed7c10d9a4d7ee9b0f31ad4bce6dd57aac4325f0e1e88ae388f21a1 WHIRLPOOL 55bf3947ccfafddb9e3b2f4044c25008217e7ad497c0f288e5c7c957d96e51fb84b1c56666573d3ecbb4e0bb1846c16f517a74efbe987140c4b5f2afcc211e88 +EBUILD project2-1.2.8.1.ebuild 1485 SHA256 13a9aa8beb62a2373994e5dac0740fe8a52d0c4de20288943787a3b309dadec7 SHA512 9541050435d3196e4fee2017a06ca9fe85852132a16b55af108cf99903449d95a3794714adba17c77a982468e5f571eaf9515aca9cb12256bfcb882a1230f0bd WHIRLPOOL 6ce2ea98afa85bda61c78556596af0e0b266baf77eb2ab6f6eb8d7c3094853a2c9b7a2ab4ce4814fe2fd46f9d5b411d2be1438a157b24ab55d377880054a485e diff --git a/www-apps/project2/project2-1.2.8-r1.ebuild b/www-apps/project2/project2-1.2.8-r1.ebuild index 27fef7e..02528ff 100644 --- a/www-apps/project2/project2-1.2.8-r1.ebuild +++ b/www-apps/project2/project2-1.2.8-r1.ebuild @@ -28,6 +28,7 @@ RDEPEND=" ) ) >=dev-cpp/slicer-1.4:= + <=dev-cpp/slicer-1.7:= " DEPEND="${RDEPEND} diff --git a/www-apps/project2/project2-1.2.8.1.ebuild b/www-apps/project2/project2-1.2.8.1.ebuild new file mode 100644 index 0000000..40dab51 --- /dev/null +++ b/www-apps/project2/project2-1.2.8.1.ebuild @@ -0,0 +1,68 @@ +EAPI="5" +inherit bjam + +DESCRIPTION="User configured application engine" +HOMEPAGE="http://project2.randomdan.homeip.net" + +SRC_URI="http://git.randomdan.homeip.net/repo/${PN}/snapshot/${P}.tar.xz" +LICENSE="GPL" +SLOT="0" +KEYWORDS="x86 amd64" +IUSE="+docs unittest +console +web +fastcgi +daemon" + +RDEPEND=" + net-libs/libesmtp + >=dev-libs/libadhocutil-0.2:= + =dev-libs/libdbpp-1*:= + www-client/lynx + dev-cpp/libxmlpp:3.0 + sys-libs/zlib + >=dev-cpp/glibmm-2.28 + >=dev-libs/boost-1.45 + >=dev-libs/Ice-3.5 + web? ( + fastcgi? ( + dev-libs/cgicc + virtual/httpd-fastcgi + dev-libs/fcgi + ) + ) + >=dev-cpp/slicer-1.7:= + " + +DEPEND="${RDEPEND} + dev-util/boost-build + sys-devel/flex + docs? ( app-doc/doxygen ) +" + +src_prepare() { + sed -ie "s|^using gcc .*|using gcc : : : <compileflags>\"${CXXFLAGS}\" <linkflags>\"${LDFLAGS}\" ;|" ${S}/Jamroot.jam +} + +src_configure() { + ( + echo "alias finalbin : " + use console && echo " console//p2console " + use web && echo " cgi//p2cgi " + use web && use fastcgi && echo " cgi//p2fcgi " + use daemon && echo " daemon//p2daemon " + echo " ; " + echo "alias finallib : " + use unittest && echo " ut//p2ut " + echo " ; " + ) >> ${S}/project2/Jamfile.jam +} + +src_compile() { + bjambuild project2//finalbin project2//finallib +} + +src_install() { + bjaminstall project2//install \ + -i project2 + 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 +} |