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.3.ebuild | 50 |
2 files changed, 52 insertions, 0 deletions
diff --git a/net-misc/gentoobrowse-api/Manifest b/net-misc/gentoobrowse-api/Manifest index 227ec2b..dea4e2f 100644 --- a/net-misc/gentoobrowse-api/Manifest +++ b/net-misc/gentoobrowse-api/Manifest @@ -1,2 +1,4 @@ DIST gentoobrowse-api-0.2.tar.bz2 174069 SHA256 c51002a80c1ebcf129cc350a3411f53b55b67fbd5640e91d69e83a0ba35c3a32 SHA512 62932c0d643d40a0d0493374970150e27601028355af2d0dfce188a699eb844fe202425fc9833e18229cff81d872ab780ed73c72e3c5fed022677352feba0280 WHIRLPOOL bc6cce5d2d367df2e36977806367b675f8f21b23b59facd99cf6f626502b6ed808fb65db76865e7b91d32780ca9c4f3c573cd14f2aa294966070ad0eaf20e094 +DIST gentoobrowse-api-0.3.tar.bz2 174382 SHA256 e5a7b8b19b1dffea92913a01c2103c03cdd18ab421b3199220fe9f77f06005bf SHA512 9b597588380f0c36c592a887a2deaeedbb85d14040841eb088798c330d34ba7be190adf2b2a3de268aea894cc19a78876a47741730182f7d25b03c732687f4e9 WHIRLPOOL 79711d8d656e15f1172b48f907968c5f7fbab619fc455cac5f5edd0c73842853efffb48a8ba42d6a72aae495c914f267af8b8e029f36b3733b08950d0e6d78e9 EBUILD gentoobrowse-api-0.2.ebuild 1219 SHA256 68adb516f9dfc382a2f4830eb8bd284d7510952b808fbf14cb8aed1860cd70dd SHA512 c6a8f93879237d9903c91420e1b8e411d319536627d0b141f51ca581f4d6d159ec4a90c3505826d6cdc2c8865aafb977fdfeb6679909ae2010079844b3120808 WHIRLPOOL 95dea5ff53da11dfde213adb5f3783d039ae9b62e6a0e9fa509d67388b239b7a383b7b9cf8187591cf38f9e4a493ad6bc0587ae55485f8bd9dceea94575b50ee +EBUILD gentoobrowse-api-0.3.ebuild 1254 SHA256 cdfa52f3dda635a49e9a99d11fd0f093b64210826ee7a6e1e4554dcf36ff4753 SHA512 25bf3f4a4a89013cb4df94964699872c1eb554705e8bf19caf68a1463c304888b037ced9dc3647778e88a30be64dd8f442350294e633cef64a8248f2e4b6eb49 WHIRLPOOL 4d0b82fe2ec5c0510d24234916d5d289f7891bcaedfc6db6c7381363d4d97e4bbc410422e59e07c7cd987cada1fedf7fb5d0864cc903a81033bd33db0d40c7d6 diff --git a/net-misc/gentoobrowse-api/gentoobrowse-api-0.3.ebuild b/net-misc/gentoobrowse-api/gentoobrowse-api-0.3.ebuild new file mode 100644 index 0000000..58f923a --- /dev/null +++ b/net-misc/gentoobrowse-api/gentoobrowse-api-0.3.ebuild @@ -0,0 +1,50 @@ +EAPI="5" + +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.2.1:=[db] + sys-apps/icebox-service + dev-libs/libdbpp-postgresql + dev-libs/icetray + ) + >=dev-libs/libadhocutil-0.3 + 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) || die +} + +src_install() { + cd ${S}/gentoobrowse-api || die + setarch $(uname -m) -RL b2 -q ${BJAMOPTS} variant=release --prefix=${D}/usr \ + 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 + fi +} + |