summaryrefslogtreecommitdiff
path: root/net-misc/gentoobrowse-api
diff options
context:
space:
mode:
Diffstat (limited to 'net-misc/gentoobrowse-api')
-rw-r--r--net-misc/gentoobrowse-api/Manifest2
-rw-r--r--net-misc/gentoobrowse-api/gentoobrowse-api-0.8.ebuild57
2 files changed, 59 insertions, 0 deletions
diff --git a/net-misc/gentoobrowse-api/Manifest b/net-misc/gentoobrowse-api/Manifest
index d753b70..a5e1ee7 100644
--- a/net-misc/gentoobrowse-api/Manifest
+++ b/net-misc/gentoobrowse-api/Manifest
@@ -1,2 +1,4 @@
DIST gentoobrowse-api-0.7.4.tar.bz2 1561384 SHA256 196e8fe3c02a2de7916511eb8fa88032f76370ae366fdf643d5924a8d3ac5b96 SHA512 08652d58f0658ef9123a657872fc2fe81a1f29c48c4e2894dd3332d899789dc3c608618ed00600203a5f5b8b3306ee8dbda89da1c569ed0125ec2567c0090dad WHIRLPOOL c0b6da1517fd2ac03c8a648fcbc31a3a8bd77e71131b49b2769aca111d5f87abd1a72e32c834ba6efbaac533e242491da201091e4b4c815291dc7fdc36c2625d
+DIST gentoobrowse-api-0.8.tar.bz2 1758718 SHA256 e309d9fcf0a27362165693d58e2fe13da102de980230f01b8a0600d04f336226 SHA512 90052a5c3c79de7c0c811b6e15c467ea3303141a2251c274ae4d51d8676fccca11f72f7f849e17c8de62685d4f2e39b98861e0a33c67ad2d4081c4848faf4eee WHIRLPOOL e16aa825418bf771d77055385182e17593c0a409eda32e02363c25455bc9cc19a982679ca62c37f0320e3c2c4d0b58a25b13340eec37fc8ed81f084fb160216f
EBUILD gentoobrowse-api-0.7.4.ebuild 1533 SHA256 337e0ff4c17a1576e09ca7213c200bd9747b6d7583b56b378bdbd556ef6e66d7 SHA512 44c43aa1881afac810bf4505c8a06d3132888680f577f42046c8a5ef51c32366b00a4869cdf077bbc0b74cf1aad7fb8775a71295f77768e006e26584c4cda833 WHIRLPOOL a038fba6b172b7c6993622e3b9e43faabee97cad15765365bf00db92e15e395f62a2479b5a93018fb1a89175c2472c8519d94c09e630032c2187c30deb625f7c
+EBUILD gentoobrowse-api-0.8.ebuild 1535 SHA256 5fff6de28b1d300e4f0b83788a418a0dddb11a6f6767851a0ef5abd8dc9c5150 SHA512 9acf8a10336749b8643899dbead97de945544d679f5e351d347fea50c7fd0895f383f0407b7307fcf567b49abbd86ee14d0f620e8a1dc142b070cc39f8c15560 WHIRLPOOL 5fbfc66c69814e15edd848d635564243d90f7179062fdb52b65475a626c7ac5393c1ca3c8b7b657e7a458742528360254b95713412193893c0e6629385359dd2
diff --git a/net-misc/gentoobrowse-api/gentoobrowse-api-0.8.ebuild b/net-misc/gentoobrowse-api/gentoobrowse-api-0.8.ebuild
new file mode 100644
index 0000000..ff2adfe
--- /dev/null
+++ b/net-misc/gentoobrowse-api/gentoobrowse-api-0.8.ebuild
@@ -0,0 +1,57 @@
+EAPI="5"
+inherit systemd eutils
+
+DESCRIPTION="ICE API and client for Gentoo Browse"
+HOMEPAGE="http://gentoobrowse.randomdan.homeip.net/"
+
+SRC_URI="http://releases.randomdan.homeip.net/git/${P}.tar.bz2"
+LICENSE="GPL"
+SLOT="0"
+KEYWORDS="~x86 ~amd64"
+IUSE="client server"
+
+RDEPEND="dev-libs/Ice
+ server? (
+ =dev-cpp/slicer-1.4*:=[db]
+ sys-apps/icebox-service
+ >=dev-libs/libdbpp-1:=
+ >=dev-libs/libdbpp-postgresql-1.1.2
+ >=dev-libs/icetray-0.1.3[tools]
+ >=dev-libs/boost-1.60
+ >=dev-libs/libgit2-0.24.0
+ )
+ >=dev-libs/libadhocutil-0.3.6:=
+ dev-libs/boost"
+DEPEND="${DEPEND}
+ sys-devel/flex
+ dev-util/boost-build"
+
+src_prepare() {
+ sed -ie "s|^using gcc .*|using gcc : : : <compileflags>\"${CXXFLAGS}\" <linkflags>\"${LDFLAGS}\" ;|" ${S}/Jamroot.jam
+}
+
+src_compile() {
+ cd ${S}/gentoobrowse-api || die
+ setarch $(uname -m) -RL b2 -q ${BJAMOPTS} variant=release \
+ api//gentoobrowse-api \
+ domain//gentoobrowse-domain \
+ $(use client && echo client//gbcli) \
+ $(use server && echo service//gentoobrowse-service util) || die
+}
+
+src_install() {
+ cd ${S}/gentoobrowse-api || die
+ setarch $(uname -m) -RL b2 -q ${BJAMOPTS} variant=release --prefix=${D}/usr \
+ --includedir=${D}/usr/include/${PN} \
+ install-libs \
+ install-slice \
+ $(use client && echo install-client) \
+ $(use server && echo install-service) || die
+ if use server ; then
+ insinto /etc/gentoobrowseapi || die
+ doins etc/icebox.config || die
+ insinto $(systemd_get_systemunitdir)/icebox@gentoobrowseapi.service.d || die
+ doins etc/service.conf || die
+ fi
+}
+