summaryrefslogtreecommitdiff
path: root/dists/gentoo/ledgersmb-VERSION.ebuild
blob: dbd68d05011047bbd5d957709c39c0aa3ef993d8 (plain)
  1. # Copyright 1999-2006 The LedgerSMB Team
  2. # Distributed under the terms of the GNU General Public License v2
  3. # $Header: $
  4. inherit depend.apache webapp eutils
  5. DESCRIPTION="LedgerSMB"
  6. HOMEPAGE="http://ledger-smb.sourceforge.net/"
  7. SRC_URI="mirror://sourceforge/${PN}/${P}.tar.gz"
  8. #SRC_URI="http://eva.a.jjayr.com/lsmb-package/${P}.tar.gz"
  9. # don't use the gentoo mirrors yet, we're not there.
  10. RESTRICT='mirror'
  11. LICENSE="GPL-2"
  12. KEYWORDS="x86 ppc"
  13. # no use flag for now
  14. IUSE=""
  15. DEPEND=""
  16. RDEPEND="
  17. >=dev-db/postgresql-8
  18. >=dev-lang/perl-5.8
  19. dev-perl/DBI
  20. net-www/apache
  21. dev-perl/Class-MethodMaker-2.08
  22. dev-perl/Log-Agent-0.307
  23. dev-perl/Shell-EnvImporter-1.04
  24. app-portage/g-cpan-0.15_rc3
  25. perl-core/i18n-langtags-0.35
  26. dev-perl/HTML-Tagset-3.10
  27. perl-gcpan/Class-Std-0.0.8
  28. perl-gcpan/Net-TCLink-3.4
  29. dev-perl/Parse-RecDescent-1.94
  30. dev-perl/MIME-Lite-3.01
  31. perl-gcpan/Config-Std-0.0.4
  32. perl-core/locale-maketext-1.10
  33. dev-perl/HTML-Parser-3.56
  34. virtual/perl-locale-maketext-1.10
  35. dev-perl/locale-maketext-lexicon-0.62
  36. "
  37. S=${WORKDIR}/${PN}
  38. src_unpack() {
  39. unpack ${A}
  40. }
  41. src_install() {
  42. webapp_src_preinst
  43. webapp_server_configfile apache ${S}/dists/gentoo/ledger-smb-httpd-gentoo.conf
  44. cp -R ${S}/* ${D}/${MY_HTDOCSDIR}
  45. # LedgerSMB needs to write to the users directory
  46. webapp_serverowned -R ${MY_HTDOCSDIR}/users/
  47. webapp_serverowned -R ${MY_HTDOCSDIR}/spool/
  48. webapp_postinst_txt en ${S}/dists/gentoo/post-install.txt
  49. webapp_src_install
  50. }