diff options
author | Dan Goodliffe <dan@randomdan.homeip.net> | 2015-12-08 15:39:22 +0000 |
---|---|---|
committer | Dan Goodliffe <dan@randomdan.homeip.net> | 2015-12-08 15:39:22 +0000 |
commit | 96308b6621d98e3984e7464711a8ad37f2e6ad9d (patch) | |
tree | 51adde93b01518721a8f44539fe44b12cd66bf71 /net-misc | |
parent | Bugfix bump (diff) | |
download | portage-96308b6621d98e3984e7464711a8ad37f2e6ad9d.tar.bz2 portage-96308b6621d98e3984e7464711a8ad37f2e6ad9d.tar.xz portage-96308b6621d98e3984e7464711a8ad37f2e6ad9d.zip |
First build of gentoobrowse-api
Diffstat (limited to 'net-misc')
-rw-r--r-- | net-misc/gentoobrowse-api/Manifest | 2 | ||||
-rw-r--r-- | net-misc/gentoobrowse-api/gentoobrowse-api-0.1.ebuild | 46 |
2 files changed, 48 insertions, 0 deletions
diff --git a/net-misc/gentoobrowse-api/Manifest b/net-misc/gentoobrowse-api/Manifest new file mode 100644 index 0000000..f66f0f9 --- /dev/null +++ b/net-misc/gentoobrowse-api/Manifest @@ -0,0 +1,2 @@ +DIST gentoobrowse-api-0.1.tar.bz2 171477 SHA256 27a6cf99e0c73452aea49ce18d621d6e983594fc024d59278d917ffeff981361 SHA512 c6ca66c87aa8827ed4712825691d152726968e84f0611dffb41f243f0b5c0a56126ae5a53687c78bf273cdf2a1e94709104f874262a24f7119ef6fd165fb097a WHIRLPOOL a8c3477087fe09c3a2ab409e86bc1bb4836c5faf3f84ae95ce9eaa813d13b446e708dfda3df38cf93d6b8f5ed486c4bdd81ef566157d13f31f238dcab350b266 +EBUILD gentoobrowse-api-0.1.ebuild 1183 SHA256 e8b4d4e7b4066cfc11710fbf3be80da840a3039aa62d6bd533b254c0d3c00c06 SHA512 a6fbc2f11de496a4deac64aad39dbda0f53a4b996cadb3a0d4f03add7ed2cdf4a1e9fd7b10bd6c124518ef4cf8172e39604a326a5e27451dd06eb72b44ae41ee WHIRLPOOL c534332101604247cd087fa01d5a291521536c09d306ffc017d3ac7e17369eddc3ea4347ef1e3906dd1b4e24a1f6807a72e0d4ea7006b3f4b341c515485004f5 diff --git a/net-misc/gentoobrowse-api/gentoobrowse-api-0.1.ebuild b/net-misc/gentoobrowse-api/gentoobrowse-api-0.1.ebuild new file mode 100644 index 0000000..ae8e0d2 --- /dev/null +++ b/net-misc/gentoobrowse-api/gentoobrowse-api-0.1.ebuild @@ -0,0 +1,46 @@ +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 service" + +RDEPEND="dev-libs/Ice + service? ( + >=dev-cpp/slicer-1.2:=[db] + sys-apps/icebox-service + dev-libs/libdbpp-postgresql + ) + dev-cpp/slicer + >=dev-libs/libadhocutil-0.3 + dev-libs/boost" +DEPEND="${DEPEND} + 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 \ + domain//gentoobrowse-domain \ + $(use client && echo client//gbcli) \ + $(use service && 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 service && echo install-service) || die + insinto /etc/gentoobrowseapi || die + doins etc/icebox.config || die +} + |