summaryrefslogtreecommitdiff
path: root/dists/gentoo/ledgersmb-1.2.7.ebuild
blob: 793092adf2a358384380cc2e75e6040ce508446b (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/ledger-smb/${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=">=dev-db/postgresql-8
  17. >=dev-lang/perl-5.8
  18. dev-perl/DBI
  19. net-www/apache
  20. >=dev-perl/Class-MethodMaker-2.08
  21. >=dev-perl/Log-Agent-0.307
  22. >=dev-perl/Shell-EnvImporter-1.04
  23. >=app-portage/g-cpan-0.15_rc3
  24. >=perl-core/i18n-langtags-0.35
  25. >=dev-perl/HTML-Tagset-3.10
  26. >=perl-gcpan/Class-Std-0.0.8
  27. >=perl-gcpan/Net-TCLink-3.4
  28. >=dev-perl/Parse-RecDescent-1.94
  29. >=dev-perl/MIME-Lite-3.01
  30. >=perl-gcpan/Config-Std-0.0.4
  31. >=perl-core/locale-maketext-1.10
  32. >=dev-perl/HTML-Parser-3.56
  33. >=virtual/perl-locale-maketext-1.10
  34. >=dev-perl/locale-maketext-lexicon-0.62"
  35. S=${WORKDIR}/${PN}
  36. src_unpack() {
  37. unpack ${A}
  38. }
  39. src_install() {
  40. webapp_src_preinst
  41. webapp_server_configfile apache ${S}/dists/gentoo/ledger-smb-httpd-gentoo.conf
  42. cp -R ${S}/* ${D}/${MY_HTDOCSDIR}
  43. # LedgerSMB needs to write to the users directory
  44. webapp_serverowned -R ${MY_HTDOCSDIR}/spool/
  45. webapp_postinst_txt en ${S}/dists/gentoo/post-install.txt
  46. webapp_src_install
  47. }