From: "Sam Jorna (wraeth)" <wraeth@gentoo.org>
To: gentoo-user@lists.gentoo.org
Subject: Re: [gentoo-user] OT: Open source document management system
Date: Wed, 1 Aug 2018 19:27:19 +1000 [thread overview]
Message-ID: <2400a9b4-df85-8615-ee1b-7566cdee27c5@gentoo.org> (raw)
In-Reply-To: <2861286.jUhDcyRKxa@andromeda>
[-- Attachment #1.1.1: Type: text/plain, Size: 562 bytes --]
On 01/08/18 16:39, J. Roeleveld wrote:
> On Wednesday, August 1, 2018 8:19:50 AM CEST Bill Kenworthy wrote:
>> Hi all
>>
>> I have been looking for an opensource document management system ...
>> there are a few but none of the ones I have come across are in portage.
>
> I haven't found many good ones.
> I used "OpenKM" for a while as it is closest to my requirements.
Here's an ebuild I wrote a while ago for openKM Community. It's binary
only and I haven't updated or tested it for some time so may need some
hacking at.
Cheers
wraeth
[-- Attachment #1.1.2: openkm-community-bin-6.3.1.ebuild --]
[-- Type: text/plain, Size: 1647 bytes --]
# Copyright 1999-2016 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Id$
EAPI=5
CHECKREQS_DISK_BUILD="1G"
inherit check-reqs eutils
MY_PN="${PN/-community-bin/}"
MY_PNF="${PN/-bin/}"
MY_FILE_64="${MY_PN}-${PV}-community-linux-x64-installer.run"
MY_FILE_86="${MY_PN}-${PV}-community-linux-installer.run"
DESCRIPTION="An electronic document and records management system (EDRMS)."
HOMEPAGE="http://www.openkm.org"
SRC_URI="amd64? ( mirror://sourceforge/${MY_PN}/${MY_FILE_64} )
x86? ( mirror://sourceforge/${MY_PN}/${MY_FILE_86} )"
LICENSE="GPL-2"
SLOT="0"
KEYWORDS="~amd64 ~x86"
DEPEND=""
RDEPEND="${DEPEND}"
QA_PREBUILT="opt/${MY_PNF}/*"
S="${WORKDIR}"
src_unpack() {
cp -v ${DISTDIR}/"${A}" "${WORKDIR}" || die
chmod +x "${WORKDIR}/${A}" || die
}
src_install() {
local runfile
use amd64 && runfile="${MY_FILE_64}"
use x86 && runfile="${MY_FILE_86}"
einfo "Ignore warnings of failure - it's just because it can't set menu entries"
./${runfile} --mode unattended --prefix "${ED}/opt/${MY_PNF}"
pushd "${ED}/opt/${MY_PNF}" || die
# fix paths
sed -e "s:${ED}::" -i openkm_stop.desktop -i openkm_start.desktop \
-i tomcat/bin/setenv.sh || die
# fix desktop files
sed -e ':^Version:d' -i openkm_stop.desktop -i openkm_start.desktop || die
sed -e 's:Office:&;:' -i openkm_stop.desktop -i openkm_start.desktop || die
doicon --size 48 "${MY_PN}_48x48.png" || die "failed installing ${MY_PN}_48x48.png"
domenu "${MY_PN}_start.desktop" || die "failed installing ${MY_PN}_start.desktop"
domenu "${MY_PN}_stop.desktop" || die "failed installing ${MY_PN}_stop.desktop"
popd || die
}
[-- Attachment #2: OpenPGP digital signature --]
[-- Type: application/pgp-signature, Size: 833 bytes --]
next prev parent reply other threads:[~2018-08-01 9:27 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2018-08-01 6:19 [gentoo-user] OT: Open source document management system Bill Kenworthy
2018-08-01 6:39 ` J. Roeleveld
2018-08-01 9:27 ` Sam Jorna (wraeth) [this message]
2018-08-01 9:56 ` Bill Kenworthy
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=2400a9b4-df85-8615-ee1b-7566cdee27c5@gentoo.org \
--to=wraeth@gentoo.org \
--cc=gentoo-user@lists.gentoo.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox