summaryrefslogtreecommitdiff
path: root/dists/gentoo/ledger-smb-1.1.1c.ebuild
diff options
context:
space:
mode:
Diffstat (limited to 'dists/gentoo/ledger-smb-1.1.1c.ebuild')
-rw-r--r--dists/gentoo/ledger-smb-1.1.1c.ebuild47
1 files changed, 47 insertions, 0 deletions
diff --git a/dists/gentoo/ledger-smb-1.1.1c.ebuild b/dists/gentoo/ledger-smb-1.1.1c.ebuild
new file mode 100644
index 00000000..488832a7
--- /dev/null
+++ b/dists/gentoo/ledger-smb-1.1.1c.ebuild
@@ -0,0 +1,47 @@
+# Copyright 1999-2006 The LedgerSMB Team
+# Distributed under the terms of the GNU General Public License v2
+# $Header: $
+
+inherit depend.apache webapp eutils
+
+DESCRIPTION="LedgerSMB"
+HOMEPAGE="http://ledger-smb.sourceforge.net/"
+SRC_URI="mirror://sourceforge/${PN}/${P}.tar.gz"
+#SRC_URI="http://eva.a.jjayr.com/lsmb-package/${P}.tar.gz"
+
+# don't use the gentoo mirrors yet, we're not there.
+RESTRICT='mirror'
+
+LICENSE="GPL-2"
+KEYWORDS="x86 ppc"
+
+# no use flag for now
+IUSE=""
+
+DEPEND=""
+RDEPEND="
+ >=dev-db/postgresql-8
+ >=dev-lang/perl-5.8
+ dev-perl/DBI
+ net-www/apache
+"
+S=${WORKDIR}/${PN}
+
+src_unpack() {
+ unpack ${A}
+}
+
+src_install() {
+ webapp_src_preinst
+
+ webapp_server_configfile apache ${S}/dists/gentoo/ledger-smb-httpd-gentoo.conf
+
+ cp -R ${S}/* ${D}/${MY_HTDOCSDIR}
+
+ # LedgerSMB needs to write to the users directory
+ webapp_serverowned -R ${MY_HTDOCSDIR}/users/
+ webapp_serverowned -R ${MY_HTDOCSDIR}/spool/
+ webapp_postinst_txt en ${S}/dists/gentoo/post-install.txt
+
+ webapp_src_install
+}