From ce458d4fa319b250b69031a339eb2d0ce2cc26ee Mon Sep 17 00:00:00 2001 From: randomdan Date: Fri, 4 Jul 2014 09:18:03 +0000 Subject: This should be here --- dev-cpp/slicer/slicer-987.ebuild | 33 +++++++++++++++++++++++++++++++++ 1 file changed, 33 insertions(+) create mode 100644 dev-cpp/slicer/slicer-987.ebuild (limited to 'dev-cpp/slicer') diff --git a/dev-cpp/slicer/slicer-987.ebuild b/dev-cpp/slicer/slicer-987.ebuild new file mode 100644 index 0000000..ddec679 --- /dev/null +++ b/dev-cpp/slicer/slicer-987.ebuild @@ -0,0 +1,33 @@ +EAPI="3" + +DESCRIPTION="Zeroc ICE helper to create generic serialization code for slice types" +HOMEPAGE="http://slicer.randomdan.homeip.net/" + +SRC_URI="http://releases.randomdan.homeip.net/download/${P}.tar.bz2" +LICENSE="GPL" +SLOT="0" +KEYWORDS="x86 amd64" +IUSE="xml json" + +DEPEND="dev-libs/Ice + xml? ( dev-cpp/libxmlpp ) + json? ( dev-libs/libjsonpp ) + dev-libs/boost + dev-util/boost-build" +RDEPEND="${DEPEND}" + +src_prepare() { + sed -ie "s|^using gcc .*|using gcc : : : \"${CXXFLAGS}\" \"${LDFLAGS}\" ;|" ${S}/Jamroot.jam +} + +src_compile() { + cd ${S}/slicer || die + setarch $(uname -m) -RL bjam ${BJAMOPTS} variant=release -q slicer tool || die + use xml && (setarch $(uname -m) -RL bjam ${BJAMOPTS} variant=release -q xml || die) +} + +src_install() { + cd ${S}/slicer || die + setarch $(uname -m) -RL bjam ${BJAMOPTS} variant=release install -q --bindir=${D}/usr/bin --libdir=${D}/usr/lib --includedir=${D}/usr/include/slicer || die + use xml && (setarch $(uname -m) -RL bjam ${BJAMOPTS} variant=release install-xml -q --bindir=${D}/usr/bin --libdir=${D}/usr/lib --includedir=${D}/usr/include/slicer || die) +} -- cgit v1.2.3