Guest User

Untitled

a guest
Sep 4th, 2016
261
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Bash 0.98 KB | None | 0 0
  1. # Copyright 1999-2016 Gentoo Foundation
  2. # Distributed under the terms of the GNU General Public License v2
  3. # $Id$
  4.  
  5. EAPI=6
  6. inherit unpacker autotools mate
  7. DESCRIPTION="Mate dock applet"
  8. HOMEPAGE="https://github.com/robint99/mate-dock-applet"
  9. SRC_URI="https://github.com/robint99/mate-dock-applet/archive/V0.74.zip"
  10. MATE_LA_PUNIT="yes"
  11. LICENSE="GPL-3"
  12. SLOT="0"
  13. KEYWORDS="~amd64 ~x86"
  14. IUSE="+mate +introspection +fortran"
  15.  
  16. DEPEND=">=dev-lang/python-3.0
  17.     >=dev-python/pillow-3.1
  18.     >=x11-libs/libwnck-2.30
  19.     >=dev-libs/glib-2.48
  20.     >=sci-libs/scipy-0.17
  21.     >=app-arch/unzip-6.0"
  22. RDEPEND="${DEPEND}"
  23.  
  24. S="${WORKDIR}/${PN}-0.74"
  25. src_unpack()
  26. {
  27.     unpack_zip ${A}
  28. }
  29.  
  30. src_prepare()
  31. {
  32.     eapply_user
  33.     eaclocal
  34.     eautomake --add-missing
  35.     eautoreconf
  36. }
  37.  
  38. src_configure()
  39. {
  40.     mate_src_configure
  41.     #econf ${S}
  42. }
  43.  
  44. src_compile()
  45. {
  46.     if [ -f Makefile ]; then
  47.         emake || die "Not found Makefile"
  48.     fi
  49. }
  50.  
  51. src_install()
  52. {
  53.     emake DESTDIR="${D}" install
  54.     dodoc README NEWS ChangeLog
  55. }
Advertisement
Add Comment
Please, Sign In to add comment