diff options
author | randomdan <randomdan@localhost> | 2014-07-04 09:18:03 +0000 |
---|---|---|
committer | randomdan <randomdan@localhost> | 2014-07-04 09:18:03 +0000 |
commit | ce458d4fa319b250b69031a339eb2d0ce2cc26ee (patch) | |
tree | 30ad91cf03b7f065dc4c3ef82e2a0992103c53fc /dev-cpp/slicer | |
parent | Standalone json library (diff) | |
download | portage-ce458d4fa319b250b69031a339eb2d0ce2cc26ee.tar.bz2 portage-ce458d4fa319b250b69031a339eb2d0ce2cc26ee.tar.xz portage-ce458d4fa319b250b69031a339eb2d0ce2cc26ee.zip |
This should be here
Diffstat (limited to 'dev-cpp/slicer')
-rw-r--r-- | dev-cpp/slicer/slicer-987.ebuild | 33 |
1 files changed, 33 insertions, 0 deletions
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 : : : <compileflags>\"${CXXFLAGS}\" <linkflags>\"${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) +} |