gosa-plugin-mail-2.6.12.ebuild 1.2 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253
  1. # Copyright 1999-2011 Gentoo Foundation
  2. # Distributed under the terms of the GNU General Public License v2
  3. EAPI=4
  4. MY_P="${P/plugin/plugins}"
  5. DESCRIPTION="GOsa plugin for Mail integration"
  6. HOMEPAGE="https://oss.gonicus.de/labs/gosa/wiki/WikiStart."
  7. SRC_URI="ftp://oss.gonicus.de/pub/gosa/${MY_P}.tar.bz2
  8. http://oss.gonicus.de/pub/gosa/${MY_P}.tar.bz2
  9. ftp://oss.gonicus.de/pub/gosa/archive/${MY_P}.tar.bz2
  10. http://oss.gonicus.de/pub/gosa/archive/${MY_P}.tar.bz2 "
  11. LICENSE="GPL-3"
  12. SLOT="0"
  13. KEYWORDS="~amd64"
  14. IUSE=""
  15. DEPEND=""
  16. RDEPEND="~net-nds/gosa-core-${PV}
  17. ~net-nds/gosa-plugin-systems-${PV}"
  18. S="${WORKDIR}/${MY_P}"
  19. GOSA_COMPONENT="${PN/gosa-plugins-}"
  20. src_install() {
  21. insinto /etc/gosa
  22. doins -r etc/*
  23. insinto /usr/share/gosa/html/plugins/${GOSA_COMPONENT}/
  24. doins -r html/*
  25. insinto /usr/share/gosa/locale/plugins/${GOSA_COMPONENT}/
  26. doins -r locale/*
  27. insinto /usr/share/gosa/plugins
  28. doins -r addons admin personal
  29. insinto /usr/share/gosa/doc/plugins/${GOSA_COMPONENT}/
  30. doins help/guide.xml
  31. dodoc contrib/*
  32. insinto /usr/share/doc/${PF}
  33. doins -r contrib/sieve_vacation
  34. }
  35. pkg_postinst() {
  36. ebegin "Updating class cache and locales"
  37. "${EROOT}"usr/sbin/update-gosa
  38. eend $?
  39. }