/[gentoo-x86]/net-misc/youtube-viewer/youtube-viewer-3.0.9-r1.ebuild
Gentoo

Diff of /net-misc/youtube-viewer/youtube-viewer-3.0.9-r1.ebuild

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

Revision 1.1 Revision 1.2
1# Copyright 1999-2013 Gentoo Foundation 1# Copyright 1999-2013 Gentoo Foundation
2# Distributed under the terms of the GNU General Public License v2 2# Distributed under the terms of the GNU General Public License v2
3# $Header: /var/cvsroot/gentoo-x86/net-misc/youtube-viewer/Attic/youtube-viewer-3.0.9-r1.ebuild,v 1.1 2013/12/25 21:28:55 hasufell Exp $ 3# $Header: /var/cvsroot/gentoo-x86/net-misc/youtube-viewer/Attic/youtube-viewer-3.0.9-r1.ebuild,v 1.2 2013/12/26 16:39:47 hasufell Exp $
4 4
5EAPI=5 5EAPI=5
6 6
7inherit gnome2-utils eutils perl-module vcs-snapshot 7inherit gnome2-utils eutils perl-module vcs-snapshot
8 8
47# do all the work in src_install 47# do all the work in src_install
48src_configure() { :; } 48src_configure() { :; }
49src_compile() { :; } 49src_compile() { :; }
50 50
51src_install() { 51src_install() {
52 local myconf="--share_dir=/usr/share" 52 local myconf
53 if use gtk ; then
53 use gtk && myconf+=" --gtk-youtube-viewer" 54 myconf="--gtk-youtube-viewer"
55 fi
54 perl-module_src_configure 56 perl-module_src_configure
55 perl-module_src_install 57 perl-module_src_install
56 58
57 if use gtk ; then 59 if use gtk ; then
58 domenu share/gtk-youtube-viewer.desktop 60 domenu share/gtk-youtube-viewer.desktop

Legend:
Removed from v.1.1  
changed lines
  Added in v.1.2

  ViewVC Help
Powered by ViewVC 1.1.20