summaryrefslogtreecommitdiff
path: root/dev-libs/libadhocutil
diff options
context:
space:
mode:
Diffstat (limited to 'dev-libs/libadhocutil')
-rw-r--r--dev-libs/libadhocutil/Manifest2
-rw-r--r--dev-libs/libadhocutil/libadhocutil-0.2_beta3.ebuild58
2 files changed, 60 insertions, 0 deletions
diff --git a/dev-libs/libadhocutil/Manifest b/dev-libs/libadhocutil/Manifest
index df208ff..171e2d3 100644
--- a/dev-libs/libadhocutil/Manifest
+++ b/dev-libs/libadhocutil/Manifest
@@ -1,2 +1,4 @@
DIST libadhocutil-0.1.tar.bz2 18457 SHA256 2ef7048932fbd99b264d1e1a8280ea5093c2498086218a1197376b9c316de256 SHA512 b7a888b894b508bac44a56fbda959037f6ef19d71c1a64d40e1adcee71836cc9f79a6a6ea41a0866fe75fcc7dc25178828934dc656aaf0ad3bf45d74cd37f406 WHIRLPOOL 035256c84dad4670655f594445fa18f40ac5cff374ac78c82a8db75674b3431b7d072fbaf32ec921f3ab4c55b04ef56b714339df7d8ac07f96e230be8248aecb
+DIST libadhocutil-0.2_beta3.tar.bz2 22883 SHA256 9c9fde76adb0331f5bd5f5772a403f42a3e35609f6d4d4b5f50a4845069f204c SHA512 3f9772763de528314835b15991c8c1a02bbd1a25824b74d926908b4c6db6728ab40c65c56808c9fe56eabad81e38459eaca1f8a6038ce6e9de5b96b97d1ce463 WHIRLPOOL a7c0b9ab4ba5980d70d9d884524e186fd92cb9d22dd352199617a6cc6c3cd38b8200724adc81a2fb99f3a90c1d50fd91b33ad0ae2288aefbf91da0941c45fcc7
EBUILD libadhocutil-0.1.ebuild 1326 SHA256 c2bc07e4f176920591705c9c0b6229d70cf4b86b409d546beab5af1eda11ce97 SHA512 dc7668947480272dda69374ec67634c2eb7ae3af36754a03db3276cc21dbd36ff90078ab4872ffe6e8fb1f8147909a117bfa1b391045f344e465e30f7c783583 WHIRLPOOL dc3a697ae9b2ea86d485aec5afe8a9b92190e63fb31e153aa8a06594d11f2de52df5a7e2cafd2f7de015bcdd7774168eaa7ad51bd4d0199b7e30ddf94460a405
+EBUILD libadhocutil-0.2_beta3.ebuild 1326 SHA256 c2bc07e4f176920591705c9c0b6229d70cf4b86b409d546beab5af1eda11ce97 SHA512 dc7668947480272dda69374ec67634c2eb7ae3af36754a03db3276cc21dbd36ff90078ab4872ffe6e8fb1f8147909a117bfa1b391045f344e465e30f7c783583 WHIRLPOOL dc3a697ae9b2ea86d485aec5afe8a9b92190e63fb31e153aa8a06594d11f2de52df5a7e2cafd2f7de015bcdd7774168eaa7ad51bd4d0199b7e30ddf94460a405
diff --git a/dev-libs/libadhocutil/libadhocutil-0.2_beta3.ebuild b/dev-libs/libadhocutil/libadhocutil-0.2_beta3.ebuild
new file mode 100644
index 0000000..7996c95
--- /dev/null
+++ b/dev-libs/libadhocutil/libadhocutil-0.2_beta3.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
+}
+