summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--www-apps/project2/Manifest2
-rw-r--r--www-apps/project2/project2-9999.ebuild12
2 files changed, 8 insertions, 6 deletions
diff --git a/www-apps/project2/Manifest b/www-apps/project2/Manifest
index 92ddb0a..f85fcf8 100644
--- a/www-apps/project2/Manifest
+++ b/www-apps/project2/Manifest
@@ -1,3 +1,3 @@
EBUILD project2-0.1.ebuild 593 RMD160 14c820a79e8bc9f19428e4f8850d90caea043602 SHA1 f674e6b78969d92698a38079f817fbe04954b035 SHA256 30f3d2a6e74b7d6ae849950ca7599db4cec19bed5db5036ef5837d2056334aab
EBUILD project2-0.2.ebuild 616 RMD160 2fb1c49e7cfa2879fdbb1290c40f7fb798bdbcd4 SHA1 ebbb82f0ab81dcdb9562552a7ed252865e4aeb76 SHA256 0e36e57bc4196fdf5d66a0c3c076e842b3aa4018ad934f272d3019b16fce0795
-EBUILD project2-9999.ebuild 640 RMD160 ca5665691d858606b935776135e8687ab64cfc28 SHA1 61bbcab87fa02d84ca22533e591e39b54fdb8593 SHA256 75e38b48a4cc141fb6adaf5873f5acb2d89b9dde830845afbb49a3ce70968ce4
+EBUILD project2-9999.ebuild 742 RMD160 d9194e5361a81717e9ad2d88cd33d9a8e7f9d0f5 SHA1 c239cd8ce4fe698bc00e32d4e0db38ea4e759dc5 SHA256 43a5705f7928647ac4f61bbaddcaece443dbcd4059cad90c2978e46a71c26f74
diff --git a/www-apps/project2/project2-9999.ebuild b/www-apps/project2/project2-9999.ebuild
index f638ba0..37c1034 100644
--- a/www-apps/project2/project2-9999.ebuild
+++ b/www-apps/project2/project2-9999.ebuild
@@ -6,27 +6,29 @@ HOMEPAGE="http://project2.randomdan.homeip.net"
LICENSE="GPL"
SLOT="0"
KEYWORDS="~x86"
-IUSE=""
+IUSE="debug"
DEPEND="dev-db/unixODBC
dev-cpp/libxmlpp
dev-cpp/glibmm
>=dev-libs/boost-1.42
dev-libs/cgicc
- =dev-util/boost-build-1.42*
+ dev-util/boost-build
virtual/httpd-fastcgi
dev-libs/fcgi
net-libs/libesmtp
www-apache/mod_transform"
RDEPEND="${DEPEND}"
ESVN_REPO_URI="svn+ssh://svn.random.lan/var/svn/src/trunk"
+BJAM=`ls -1 /usr/bin/bjam* | tail -1`
+use !debug && var="variant=release"
src_compile() {
cd ${S}/project2 || die
- bjam-1_42 variant=release || die
+ ${BJAM} ${var} -qj2 || die
}
src_install() {
- exeinto /usr/share/webapps/project2
- doexe ${S}/project2/bin/*/release/p2{web,console}
+ cd ${S}/project2 || die
+ ${BJAM} ${var} install -qj2 --bindir=${D}/usr/share/webapps/project2 --libdir=${D}/usr/lib || die
}