gosa-plugin-mail-2.6.12-r1.ebuild 1.1 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152
  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-plugin-}"
  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 -r contrib/*
  32. insinto /usr/share/doc/${PF}
  33. }
  34. pkg_postinst() {
  35. ebegin "Updating class cache and locales"
  36. "${EROOT}"usr/sbin/update-gosa
  37. eend $?
  38. }