diff options
Diffstat (limited to 'net-misc/gentoobrowse-api')
-rw-r--r-- | net-misc/gentoobrowse-api/Manifest | 2 | ||||
-rw-r--r-- | net-misc/gentoobrowse-api/gentoobrowse-api-0.12.ebuild | 58 |
2 files changed, 60 insertions, 0 deletions
diff --git a/net-misc/gentoobrowse-api/Manifest b/net-misc/gentoobrowse-api/Manifest index b80d8f9..44fd57b 100644 --- a/net-misc/gentoobrowse-api/Manifest +++ b/net-misc/gentoobrowse-api/Manifest @@ -1,2 +1,4 @@ DIST gentoobrowse-api-0.11.2.1.tar.xz 890372 BLAKE2B 2057130e2e90b659f8ffc02f8dea5cbe63f91ea44bf1d7eae204ecefb23159677cec97385f20614b3df3f2a5e4180690d1732fc091f43ee3d2112b01e7a090f0 SHA512 805110fc8d7ab570cb0aebe99af9cb4b1bbefc91a82ac982bfa6b1c53e79f24cd77967218fdcf7db4ee7a21d7c3413b1651e4ee3faeebc348c98fddfea156b22 +DIST gentoobrowse-api-0.12.tar.xz 893516 BLAKE2B 815e127e41d49e69e17e72ed3fc2f09c5f10170a50b9f5f200440cb53b18f6b337374b25051c07b7967b53cf8f9e2ae64ecd3794ec7bd381e21b0a3d7ce5142c SHA512 595962d9b3e1f1126ba5a29041c3758b03e10a5c71cdb1c8630095eba40607b129f00d57151d2041fe53d44b8c4d6fbaaa68c96e4aa736388f5fd50dba97d516 EBUILD gentoobrowse-api-0.11.2.1.ebuild 1488 BLAKE2B 9ce0ee0554c5e8c036e99f94232bd2fb9d6705466df1ea2b040e5c577d37549ab017c6a30d452111687d31fce119167a61f7ea9fa924b6d8d61d881851e6f3f7 SHA512 0e88bde36b4a999c5165aa446ed77ac1904333f8f16acebe330a7512c9d4325b78eba557f6d912ca0a3ef3b458d882a99e92314536f3760852993ec009b15c02 +EBUILD gentoobrowse-api-0.12.ebuild 1490 BLAKE2B 68c32bd7f125b939820be8b043710e8dcbf9407c49051981c4b2fa694acee680d6fdc744e48d34e5221163348fa88350e6a2318b8fe475a10bae78bbd9ef4efe SHA512 9f5b472af0d6bac54b59e8d879d1ec56a40ca9e4aed92957ef661ff656833b66dab339480602489e9dfb45aae6aee856e7050682d25fa02251d22d95bd2a8590 diff --git a/net-misc/gentoobrowse-api/gentoobrowse-api-0.12.ebuild b/net-misc/gentoobrowse-api/gentoobrowse-api-0.12.ebuild new file mode 100644 index 0000000..94cfd38 --- /dev/null +++ b/net-misc/gentoobrowse-api/gentoobrowse-api-0.12.ebuild @@ -0,0 +1,58 @@ +EAPI="7" +inherit systemd eutils bjam + +DESCRIPTION="ICE API and client for Gentoo Browse" +HOMEPAGE="http://gentoobrowse.randomdan.homeip.net/" + +SRC_URI="https://git.randomdan.homeip.net/repo/${PN}/snapshot/${P}.tar.xz" +LICENSE="MIT" +SLOT="0" +KEYWORDS="x86 amd64" +IUSE="client server" + +DEPEND="=dev-libs/Ice-3.7* + server? ( + dev-util/cproto + >=dev-cpp/slicer-1.9:=[db] + >=dev-libs/libdbpp-1.4:= + >=dev-libs/libdbpp-postgresql-1.4 + >=dev-libs/icetray-0.5:=[tools] + >=dev-libs/boost-1.60:= + >=dev-libs/libgit2-0.24.0 + ) + >=dev-libs/libadhocutil-0.7.7:= + dev-libs/boost:=" +BDEPEND="${DEPEND} + sys-devel/flex + virtual/pkgconfig + dev-util/boost-build" +RDEPEND="${DEPEND} + server? ( + =sys-apps/icebox-service-1.11 + ) + www-client/lynx" + +src_compile() { + bjambuild \ + gentoobrowse-api/api//gentoobrowse-api \ + gentoobrowse-api/domain//gentoobrowse-domain \ + $(use client && echo gentoobrowse-api/client//gbcli) \ + $(use server && echo \ + gentoobrowse-api/service//gentoobrowse-service++11 \ + gentoobrowse-api/util) +} + +src_install() { + bjaminstall \ + gentoobrowse-api//install-libs \ + gentoobrowse-api//install-slice \ + $(use client && echo gentoobrowse-api//install-client) \ + $(use server && echo gentoobrowse-api//install-service) + if use server ; then + insinto /etc/gentoobrowseapi || die + doins gentoobrowse-api/etc/icebox.config || die + insinto $(systemd_get_systemunitdir)/icebox@gentoobrowseapi.service.d || die + doins gentoobrowse-api/etc/service.conf || die + fi +} + |