Advertisement
Guest User

Untitled

a guest
Nov 8th, 2012
303
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.88 KB | None | 0 0
  1. # Copyright 1999-2012 Gentoo Foundation
  2. # Distributed under the terms of the GNU General Public License v2
  3. # $Header: $
  4.  
  5. EAPI="3"
  6.  
  7. inherit unpacker
  8.  
  9. DESCRIPTION="Client for Valve Software's Steam content delivery program"
  10. HOMEPAGE="http://www.steampowered.com/"
  11. SRC_URI="steam.deb"
  12.  
  13. LICENSE="steam"
  14. SLOT="0"
  15. KEYWORDS="~amd64 ~x86"
  16. IUSE=""
  17. RESTRICT="fetch strip"
  18.  
  19. RDEPEND="sys-libs/glibc
  20. sys-apps/dbus
  21. x11-libs/libXrandr
  22. x11-libs/libXi
  23. x11-libs/libXfixes
  24. x11-libs/libXext
  25. x11-libs/libX11
  26. >=x11-libs/pixman-0.24.4
  27. >=x11-libs/cairo-1.6.0
  28. >=x11-libs/pango-1.22.0
  29. >=x11-libs/gdk-pixbuf-2.22.0
  30. >=x11-libs/gtk+-2.24.0
  31. >=net-misc/curl-7.16
  32. >=net-print/cups-1.4.0
  33. >=media-libs/libogg-1.0
  34. >=media-libs/libsdl-1.2.10
  35. >=media-libs/libtheora-1.0
  36. >=media-libs/libvorbis-1.1.2
  37. >=media-libs/alsa-lib-1.0.23
  38. >=media-libs/fontconfig-0.8.0
  39. >=media-libs/freetype-2.3.9
  40. >=media-libs/openal-1.13
  41. media-libs/libjpeg-turbo
  42. media-libs/libpng:1.2
  43. >=media-sound/pulseaudio-0.99.1
  44. >=dev-libs/glib-2.14.0
  45. >=dev-libs/libgcrypt-1.4.5
  46. >=dev-libs/nspr-1.8.0.10
  47. >=dev-libs/nss-3.12.3
  48. sys-libs/libstdc++-v3
  49. sys-libs/zlib
  50. dev-libs/libappindicator
  51. amd64? ( app-emulation/emul-linux-x86-baselibs
  52. app-emulation/emul-linux-x86-xlibs
  53. app-emulation/emul-linux-x86-gtklibs
  54. app-emulation/emul-linux-x86-compat
  55. app-emulation/emul-linux-x86-sdl
  56. app-emulation/emul-linux-x86-opengl
  57. app-emulation/emul-linux-x86-soundlibs )"
  58.  
  59. pkg_nofetch() {
  60. einfo "Please visit ${HOMEPAGE}"
  61. einfo "and place ${A} in ${DISTDIR}"
  62. }
  63.  
  64. src_unpack() {
  65. unpack ${A}
  66. tar xf ${WORKDIR}/data.tar.gz || die "Unpack failed!"
  67. rm ${WORKDIR}/debian-binary
  68. rm ${WORKDIR}/control.tar.gz
  69. rm ${WORKDIR}/data.tar.gz
  70. }
  71.  
  72. src_install(){
  73. dobin "usr/bin/steam"
  74. dodir "usr/"
  75. cp -r "usr/share/" "${D}/usr/" || die "Install failed!"
  76. cp -r "usr/lib" "${D}/usr/" || die "Install failed!"
  77. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement