Advertisement
sanyo

transgui-9999.build

Mar 14th, 2012
244
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.11 KB | None | 0 0
  1. # Copyright 1999-2010 Gentoo Foundation
  2. # Distributed under the terms of the GNU General Public License v2
  3. # $Header: $
  4.  
  5. EAPI=2
  6. inherit eutils subversion
  7.  
  8. DESCRIPTION="A uTorrent-like frontend for Transmission daemon"
  9. HOMEPAGE="http://code.google.com/p/transmisson-remote-gui/"
  10. #SRC_URI="http://transmisson-remote-gui.googlecode.com/files/${P}-src.zip"
  11. ESVN_REPO_URI="http://transmisson-remote-gui.googlecode.com/svn/trunk"
  12.  
  13. LICENSE="GPL-2"
  14. SLOT="0"
  15. KEYWORDS="~amd64 ~x86"
  16.  
  17. IUSE=""
  18. RESTRICT="mirror strip"
  19.  
  20. RDEPEND=">=sys-libs/glibc-2.11.0
  21. >=x11-libs/gtk+-2.20.0
  22. >=x11-libs/pango-1.28.0"
  23. DEPEND="${RDEPEND}
  24. >=dev-lang/lazarus-0.9.30.2
  25. app-arch/unzip"
  26.  
  27. S="${WORKDIR}/TransGUI"
  28.  
  29. pkg_setup() {
  30. if [ ! -e /usr/share/lazarus/tools/lazres ]; then
  31. die "Lazres not found, please create it by issuing: \"lazbuild /usr/share/lazarus/tools/lazres.lpi\" See bug #342641 for details."
  32. fi
  33. }
  34.  
  35. src_install() {
  36. emake PREFIX="${D}/usr" install || die "emake install failed"
  37.  
  38. make_desktop_entry transgui "Transmission remote GUI" ${PN} \
  39. "Network;FileTransfer;P2P;Internet"
  40. doicon transgui.png
  41. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement