diff options
author | einhverfr <einhverfr@4979c152-3d1c-0410-bac9-87ea11338e46> | 2007-07-12 05:01:51 +0000 |
---|---|---|
committer | einhverfr <einhverfr@4979c152-3d1c-0410-bac9-87ea11338e46> | 2007-07-12 05:01:51 +0000 |
commit | 2d20ee8bb2b7b48ba5e590050a9640deebf12f0b (patch) | |
tree | f2652fd255ec0bb7e315a8d37f9cec19b3f4f25e /dists | |
parent | 7bac078da5248a506dbc35fdcfa6008dc4514a9d (diff) |
Updating ebuild files
git-svn-id: https://ledger-smb.svn.sourceforge.net/svnroot/ledger-smb/branches/1.2@1385 4979c152-3d1c-0410-bac9-87ea11338e46
Diffstat (limited to 'dists')
-rw-r--r-- | dists/gentoo/ledger-smb-VERSION.ebuild | 15 | ||||
-rw-r--r-- | dists/gentoo/ledger-smb-httpd-gentoo.conf | 2 | ||||
-rw-r--r-- | dists/gentoo/ledgersmb-1.2.7.ebuild | 62 | ||||
-rw-r--r-- | dists/gentoo/ledgersmb-VERSION.ebuild | 62 |
4 files changed, 140 insertions, 1 deletions
diff --git a/dists/gentoo/ledger-smb-VERSION.ebuild b/dists/gentoo/ledger-smb-VERSION.ebuild index 488832a7..dbd68d05 100644 --- a/dists/gentoo/ledger-smb-VERSION.ebuild +++ b/dists/gentoo/ledger-smb-VERSION.ebuild @@ -24,6 +24,21 @@ RDEPEND=" >=dev-lang/perl-5.8 dev-perl/DBI net-www/apache + dev-perl/Class-MethodMaker-2.08 + dev-perl/Log-Agent-0.307 + dev-perl/Shell-EnvImporter-1.04 + app-portage/g-cpan-0.15_rc3 + perl-core/i18n-langtags-0.35 + dev-perl/HTML-Tagset-3.10 + perl-gcpan/Class-Std-0.0.8 + perl-gcpan/Net-TCLink-3.4 + dev-perl/Parse-RecDescent-1.94 + dev-perl/MIME-Lite-3.01 + perl-gcpan/Config-Std-0.0.4 + perl-core/locale-maketext-1.10 + dev-perl/HTML-Parser-3.56 + virtual/perl-locale-maketext-1.10 + dev-perl/locale-maketext-lexicon-0.62 " S=${WORKDIR}/${PN} diff --git a/dists/gentoo/ledger-smb-httpd-gentoo.conf b/dists/gentoo/ledger-smb-httpd-gentoo.conf index b704c5f9..5f44d72d 100644 --- a/dists/gentoo/ledger-smb-httpd-gentoo.conf +++ b/dists/gentoo/ledger-smb-httpd-gentoo.conf @@ -1,5 +1,5 @@ -Alias /ledger-smb ${MY_HTDOCSDIR} +Alias /ledgersmb ${MY_HTDOCSDIR} <Directory ${MY_HTDOCSDIR}> AllowOverride All diff --git a/dists/gentoo/ledgersmb-1.2.7.ebuild b/dists/gentoo/ledgersmb-1.2.7.ebuild new file mode 100644 index 00000000..dbd68d05 --- /dev/null +++ b/dists/gentoo/ledgersmb-1.2.7.ebuild @@ -0,0 +1,62 @@ +# 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 + dev-perl/Class-MethodMaker-2.08 + dev-perl/Log-Agent-0.307 + dev-perl/Shell-EnvImporter-1.04 + app-portage/g-cpan-0.15_rc3 + perl-core/i18n-langtags-0.35 + dev-perl/HTML-Tagset-3.10 + perl-gcpan/Class-Std-0.0.8 + perl-gcpan/Net-TCLink-3.4 + dev-perl/Parse-RecDescent-1.94 + dev-perl/MIME-Lite-3.01 + perl-gcpan/Config-Std-0.0.4 + perl-core/locale-maketext-1.10 + dev-perl/HTML-Parser-3.56 + virtual/perl-locale-maketext-1.10 + dev-perl/locale-maketext-lexicon-0.62 +" +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 +} diff --git a/dists/gentoo/ledgersmb-VERSION.ebuild b/dists/gentoo/ledgersmb-VERSION.ebuild new file mode 100644 index 00000000..dbd68d05 --- /dev/null +++ b/dists/gentoo/ledgersmb-VERSION.ebuild @@ -0,0 +1,62 @@ +# 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 + dev-perl/Class-MethodMaker-2.08 + dev-perl/Log-Agent-0.307 + dev-perl/Shell-EnvImporter-1.04 + app-portage/g-cpan-0.15_rc3 + perl-core/i18n-langtags-0.35 + dev-perl/HTML-Tagset-3.10 + perl-gcpan/Class-Std-0.0.8 + perl-gcpan/Net-TCLink-3.4 + dev-perl/Parse-RecDescent-1.94 + dev-perl/MIME-Lite-3.01 + perl-gcpan/Config-Std-0.0.4 + perl-core/locale-maketext-1.10 + dev-perl/HTML-Parser-3.56 + virtual/perl-locale-maketext-1.10 + dev-perl/locale-maketext-lexicon-0.62 +" +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 +} |