summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorrandomdan <randomdan@localhost>2013-11-22 20:41:41 +0000
committerrandomdan <randomdan@localhost>2013-11-22 20:41:41 +0000
commit09dc90b3623e7a1f49e515cb11c14d6fcb92510b (patch)
treeefe3602585266a99021d886ec3f3324de5b89a87
parentOnly import specifically what we need here (diff)
downloadportage-09dc90b3623e7a1f49e515cb11c14d6fcb92510b.tar.bz2
portage-09dc90b3623e7a1f49e515cb11c14d6fcb92510b.tar.xz
portage-09dc90b3623e7a1f49e515cb11c14d6fcb92510b.zip
Bump to make more friendly with external projects, installs headers
-rw-r--r--www-apps/project2/Manifest2
-rw-r--r--www-apps/project2/project2-840.ebuild69
2 files changed, 71 insertions, 0 deletions
diff --git a/www-apps/project2/Manifest b/www-apps/project2/Manifest
index 06067d3..758b4ff 100644
--- a/www-apps/project2/Manifest
+++ b/www-apps/project2/Manifest
@@ -1,5 +1,6 @@
DIST project2-826.tar.bz2 127047 SHA256 29225dcf386b47146fc1fca1790a5ac432b4198bee5690bf3b736334fb68cc1e SHA512 af50f54b21ae8e0110752abb7849841da174ecf3f4e25445d6499286fa2f3bedd32be1eb4192c987da1664f52749606d07bc945b00ab9e9d76c538201891b25d WHIRLPOOL 38c5ba30327767f9d4abea1582da2567f79699277be6101083433fbb342cc99bae5505099bef5b14824c40067752cde209f169a372bbd29ff825d27d4b995400
DIST project2-838.tar.bz2 128472 SHA256 f670d7d1ee0c3e0d07b4b60ad404f77a2b0699b83c9693b3a09937e9896de1eb SHA512 dbcbb71a60d00c796b164f257ffff2dbf49b5a2a84768f3ebb13789f13db700e59158de23c3bfdbdf0f618bdc7c9d0cc71a771c72b992b5ba98f738ed7447b69 WHIRLPOOL 0cdbf1de605f7a9b7cb62b8aec9a4d2aad684ebf179d6e46f832e6608da02bd6f55cbfa919ba77788e0af44c95a1ee72127533fb2b27dcb30c5e12275d947ce7
+DIST project2-840.tar.bz2 128701 SHA256 5f68ec2b63955f42c524a3adab1b8163e42aa320c5d24119682590245f4db8bb SHA512 942482996ee56e9a110f45f64e840a38abeb454183da60baa90cb3c08481687037aa5ed0057edfcc2bf037927f056ea099f19cec233b41a5fb1f91021d7508b0 WHIRLPOOL a2f23f09417cf67b8aeaeaf0d2dd033bf8cf482b65ceea16b766137ffc94105dd5a4d6e1ae9e598c4f9a0e7a0b08b33cf0b8cce4447391fd0620f22c9ea5b48a
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
@@ -15,3 +16,4 @@ EBUILD project2-796.ebuild 1800 SHA256 ffb6d03a4b1c815fb21ee7bcfd47dcfee0c42ec13
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 1838 SHA256 e6067cf6ab831d046aa1f46aa4f66c9667ef4f972a818cc1de5d2e4813545b86 SHA512 2c89daf712e4e7b0b36596abda4a2bb12e929ec91e6089cf65977acda5013b7fabc64e7e589c4dbf8d963e01431c90baad7b7129ac102280c6ad689ddb0cd262 WHIRLPOOL c623f076fdfce097e30b0b22cd45a60c359e31e5b00d9a95c10d30307e77937801fe12d8dd1bd509bdbd02e2d7cdfb130fc4e6417eff899671ac5390077ec3ce
+EBUILD project2-840.ebuild 2092 SHA256 1700e3c2da8739b04008ac8fe0a8b7464503efd0707de132b7c7ef74c7276b58 SHA512 742b617e9f4421c3d18b59be2ea6a7b3819483035e92997144fafe86ef25d666fbb79a86e963890bc3787e7548860c1dd4787b8cd9fc24d461f0453c7ddce19e WHIRLPOOL 762edc062cf7b5071595035d9329fa4e33004309ab105b879ab936c2156e7f6b9b22ee5b869947886748ab4c9b457ef0a8ad0e188970b09f66aea30ca9641b0f
diff --git a/www-apps/project2/project2-840.ebuild b/www-apps/project2/project2-840.ebuild
new file mode 100644
index 0000000..b15375f
--- /dev/null
+++ b/www-apps/project2/project2-840.ebuild
@@ -0,0 +1,69 @@
+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 +daemon"
+
+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"
+use daemon && bt="$bt p2daemon" && it="$it installp2daemon"
+
+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 \
+ --prefix=${D}/usr \
+ || die "Installed failed"
+ ${BJAM} installheaders --includedir=${D}/usr/include/project2 || die "Install headers failed"
+ ${BJAM} installheadersmisc --includedir=${D}/usr/include/project2/lib || die "Install headers failed"
+ ${BJAM} installheadersdb --includedir=${D}/usr/include/project2/sql || die "Install headers 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
+}