diff options
Diffstat (limited to 'dev-libs')
-rw-r--r-- | dev-libs/libadhocutil/Manifest | 2 | ||||
-rw-r--r-- | dev-libs/libadhocutil/libadhocutil-0.1.ebuild | 58 |
2 files changed, 60 insertions, 0 deletions
diff --git a/dev-libs/libadhocutil/Manifest b/dev-libs/libadhocutil/Manifest new file mode 100644 index 0000000..df208ff --- /dev/null +++ b/dev-libs/libadhocutil/Manifest @@ -0,0 +1,2 @@ +DIST libadhocutil-0.1.tar.bz2 18457 SHA256 2ef7048932fbd99b264d1e1a8280ea5093c2498086218a1197376b9c316de256 SHA512 b7a888b894b508bac44a56fbda959037f6ef19d71c1a64d40e1adcee71836cc9f79a6a6ea41a0866fe75fcc7dc25178828934dc656aaf0ad3bf45d74cd37f406 WHIRLPOOL 035256c84dad4670655f594445fa18f40ac5cff374ac78c82a8db75674b3431b7d072fbaf32ec921f3ab4c55b04ef56b714339df7d8ac07f96e230be8248aecb +EBUILD libadhocutil-0.1.ebuild 1326 SHA256 c2bc07e4f176920591705c9c0b6229d70cf4b86b409d546beab5af1eda11ce97 SHA512 dc7668947480272dda69374ec67634c2eb7ae3af36754a03db3276cc21dbd36ff90078ab4872ffe6e8fb1f8147909a117bfa1b391045f344e465e30f7c783583 WHIRLPOOL dc3a697ae9b2ea86d485aec5afe8a9b92190e63fb31e153aa8a06594d11f2de52df5a7e2cafd2f7de015bcdd7774168eaa7ad51bd4d0199b7e30ddf94460a405 diff --git a/dev-libs/libadhocutil/libadhocutil-0.1.ebuild b/dev-libs/libadhocutil/libadhocutil-0.1.ebuild new file mode 100644 index 0000000..7996c95 --- /dev/null +++ b/dev-libs/libadhocutil/libadhocutil-0.1.ebuild @@ -0,0 +1,58 @@ +EAPI="5" + +DESCRIPTION="Ad-hoc collection of utility functions, classes, helpers" +HOMEPAGE="http://libadhocutil.randomdan.homeip.net/" + +SRC_URI="http://releases.randomdan.homeip.net/git/${P}.tar.bz2" +LICENSE="GPL" +SLOT="0" +KEYWORDS="x86 amd64" +IUSE="man test" + +RDEPEND=" + net-misc/curl + dev-libs/Ice + dev-libs/boost +" +DEPEND=" + ${RDEPEND} + sys-devel/flex + dev-util/boost-build + man? ( app-doc/doxygen ) +" + +src_prepare() { + sed -ie "s|^using gcc .*|using gcc : : : <compileflags>\"${CXXFLAGS}\" <linkflags>\"${LDFLAGS}\" ;|" ${S}/Jamroot.jam +} + +src_compile() { + cd ${S}/libadhocutil || die + setarch $(uname -m) -RL bjam ${BJAMOPTS} variant=release adhocutil -q || die +} + +src_install() { + cd ${S}/libadhocutil || die + + setarch $(uname -m) -RL bjam ${BJAMOPTS} variant=release install -q \ + --libdir=${D}/usr/lib \ + --includedir=${D}/usr/include/adhocutil || die + + insinto /usr/include/adhocutil || die + doins ${S}/libadhocutil/bin/*/*/*.h || die + insinto /usr/share/adhocutil/ice || die + doins *.ice || die + + if use man ; then + mkdir -p ${D}/usr/share/man + (cat Doxyfile ; + echo OUTPUT_DIRECTORY=${D}/usr/share + echo PROJECT_NUMBER=${PV} + ) | tee /var/tmp/doxy | doxygen - || die "Build docs failed" + fi +} + +src_test() { + cd ${S}/libadhocutil || die + setarch $(uname -m) -RL bjam ${BJAMOPTS} variant=release -q || die +} + |