Advertisement
Guest User

Untitled

a guest
Jan 24th, 2013
42
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.71 KB | None | 0 0
  1. # Copyright 1999-2013 Gentoo Foundation
  2. # Distributed under the terms of the GNU General Public License v2
  3. # $Header: $
  4.  
  5. EAPI=4
  6.  
  7. DESCRIPTION="Ubuntu UI Toolkit Preview"
  8. HOMEPAGE="https://launchpad.net/ubuntu-ui-toolkit"
  9. SRC_URI=""
  10.  
  11. inherit bzr
  12.  
  13. EBZR_REPO_URI="lp:ubuntu-ui-toolkit"
  14.  
  15. LICENSE=""
  16. SLOT="0"
  17. KEYWORDS="~amd64"
  18. IUSE=""
  19.  
  20. DEPEND=""
  21. RDEPEND="${DEPEND}"
  22.  
  23. src_prepare() {
  24. sed -i -e "s:/opt:/usr/$(get_libdir):" documentation/documentation.pri || die "sed failed"
  25. }
  26.  
  27. src_compile() {
  28. emake -j1 || die "emake failed"
  29. }
  30.  
  31. src_configure() {
  32. ${EPREFIX}/usr/$(get_libdir)/qt5/bin/qmake || die "qmake failed"
  33. }
  34.  
  35. src_install() {
  36. emake INSTALL_ROOT="${D}" install || die "Install failed"
  37. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement