diff options
-rw-r--r-- | www-apps/project2/Manifest | 2 | ||||
-rw-r--r-- | www-apps/project2/project2-838.ebuild | 65 |
2 files changed, 67 insertions, 0 deletions
diff --git a/www-apps/project2/Manifest b/www-apps/project2/Manifest index 4a948a2..8b52b8b 100644 --- a/www-apps/project2/Manifest +++ b/www-apps/project2/Manifest @@ -1,4 +1,5 @@ DIST project2-826.tar.bz2 127047 SHA256 29225dcf386b47146fc1fca1790a5ac432b4198bee5690bf3b736334fb68cc1e SHA512 af50f54b21ae8e0110752abb7849841da174ecf3f4e25445d6499286fa2f3bedd32be1eb4192c987da1664f52749606d07bc945b00ab9e9d76c538201891b25d WHIRLPOOL 38c5ba30327767f9d4abea1582da2567f79699277be6101083433fbb342cc99bae5505099bef5b14824c40067752cde209f169a372bbd29ff825d27d4b995400 +DIST project2-838.tar.bz2 128472 SHA256 f670d7d1ee0c3e0d07b4b60ad404f77a2b0699b83c9693b3a09937e9896de1eb SHA512 dbcbb71a60d00c796b164f257ffff2dbf49b5a2a84768f3ebb13789f13db700e59158de23c3bfdbdf0f618bdc7c9d0cc71a771c72b992b5ba98f738ed7447b69 WHIRLPOOL 0cdbf1de605f7a9b7cb62b8aec9a4d2aad684ebf179d6e46f832e6608da02bd6f55cbfa919ba77788e0af44c95a1ee72127533fb2b27dcb30c5e12275d947ce7 EBUILD project2-740.ebuild 1821 SHA256 97a5d702ba997ce531d49fec37ea47d839e2a280a77da95016b27def75702888 SHA512 7bde5499cf03e8e9c5107c3efacded816a8548d9e1a98ed2bef50a44e3fd705f8ad2133168f704197a4bab27016b13e903243e6a7ed13f3ce6717bf3d6d1dac1 WHIRLPOOL 6fbe43e6e623ca681f10ccd068ac74cd746f9b088b143e04ed90ef9233f375f21806532481af3a8732b3a7d5adee1cc22dbcb355c50ddfbbf52412aee91d8389 EBUILD project2-742.ebuild 1821 SHA256 97a5d702ba997ce531d49fec37ea47d839e2a280a77da95016b27def75702888 SHA512 7bde5499cf03e8e9c5107c3efacded816a8548d9e1a98ed2bef50a44e3fd705f8ad2133168f704197a4bab27016b13e903243e6a7ed13f3ce6717bf3d6d1dac1 WHIRLPOOL 6fbe43e6e623ca681f10ccd068ac74cd746f9b088b143e04ed90ef9233f375f21806532481af3a8732b3a7d5adee1cc22dbcb355c50ddfbbf52412aee91d8389 EBUILD project2-759.ebuild 1793 SHA256 f8a89467425a43a4900d661660b5f6089bb3daee10fc8855558c14e946ebfe84 SHA512 3aa11f5ae40d521aec012b777efb3ad36ba91fb3069068432d2a987d93c599f7b872b28562b8d8fc2038b3d0dd68a745db97c25ab52627915831296fbcbd94b7 WHIRLPOOL 941f02cc735aff60c8c39faeda13d43918df421ab17070ba6b78b91fed83f34f8e604e5db21c9e9205efcd7fdf7e8be6e61aa16d454de23f12a52fc5a5b59eda @@ -13,3 +14,4 @@ EBUILD project2-783.ebuild 1800 SHA256 ffb6d03a4b1c815fb21ee7bcfd47dcfee0c42ec13 EBUILD project2-796.ebuild 1800 SHA256 ffb6d03a4b1c815fb21ee7bcfd47dcfee0c42ec13f4cccce4d6be598958eebfc SHA512 32eb9a309dd78cc6134ccdc1aa49d2dcfddbd3f2f6286957732a828455c13fe06d4ce13e19c99c778d7dfb79d990947de32eda52c4813544f442d2cfea0fea85 WHIRLPOOL 09ef35c02ddf4c751095f71bb004b1e838a5590a2291a5b6af39cc5cca95b8c5c04c6e980bf1147b0ef41af7b6a15335754e01f9a60a93c5357560c58c693c1b EBUILD project2-814.ebuild 1800 SHA256 ffb6d03a4b1c815fb21ee7bcfd47dcfee0c42ec13f4cccce4d6be598958eebfc SHA512 32eb9a309dd78cc6134ccdc1aa49d2dcfddbd3f2f6286957732a828455c13fe06d4ce13e19c99c778d7dfb79d990947de32eda52c4813544f442d2cfea0fea85 WHIRLPOOL 09ef35c02ddf4c751095f71bb004b1e838a5590a2291a5b6af39cc5cca95b8c5c04c6e980bf1147b0ef41af7b6a15335754e01f9a60a93c5357560c58c693c1b EBUILD project2-826.ebuild 1770 SHA256 5ecd0734bdb152c67b6a54b0ef650dedb000ca8120beb766c3503f9cabff615f SHA512 2ec15f78d0d2cd2008982901c470e8e921a4ed606923521091293280e7544dda622e76a5e3bd26b9349b3ea48655046d88649ae80fa10d0e4196c28e067a51d3 WHIRLPOOL 4325f89e65ee4e2e638067a3c6e062f2043be8b94172cb63eaa3fc0c15474ffd37196d1734b4c73cf79ff09cff1d285b77fab3ae05ce73c19deca8c636a9d4d8 +EBUILD project2-838.ebuild 1770 SHA256 5ecd0734bdb152c67b6a54b0ef650dedb000ca8120beb766c3503f9cabff615f SHA512 2ec15f78d0d2cd2008982901c470e8e921a4ed606923521091293280e7544dda622e76a5e3bd26b9349b3ea48655046d88649ae80fa10d0e4196c28e067a51d3 WHIRLPOOL 4325f89e65ee4e2e638067a3c6e062f2043be8b94172cb63eaa3fc0c15474ffd37196d1734b4c73cf79ff09cff1d285b77fab3ae05ce73c19deca8c636a9d4d8 diff --git a/www-apps/project2/project2-838.ebuild b/www-apps/project2/project2-838.ebuild new file mode 100644 index 0000000..bbfd156 --- /dev/null +++ b/www-apps/project2/project2-838.ebuild @@ -0,0 +1,65 @@ +EAPI="3" + +DESCRIPTION="User configured application engine" +HOMEPAGE="http://project2.randomdan.homeip.net" + +SRC_URI="http://releases.randomdan.homeip.net/download/${P}.tar.bz2" +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}" +use !debug && var="variant=release" +use !odbc && odbc="odbc=no" +use !mysql && mysql="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 +} |