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

Diff of /net-misc/youtube-viewer/youtube-viewer-9999.ebuild

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

Revision 1.14 Revision 1.15
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/youtube-viewer-9999.ebuild,v 1.14 2013/12/14 14:26:00 hasufell Exp $ 3# $Header: /var/cvsroot/gentoo-x86/net-misc/youtube-viewer/youtube-viewer-9999.ebuild,v 1.15 2013/12/26 16:39:47 hasufell Exp $
4 4
5EAPI=5 5EAPI=5
6 6
7inherit perl-module git-2 7inherit perl-module git-2
8 8
44# do all the work in src_install 44# do all the work in src_install
45src_configure() { :; } 45src_configure() { :; }
46src_compile() { :; } 46src_compile() { :; }
47 47
48src_install() { 48src_install() {
49 local myconf="--share_dir=/usr/share" 49 local myconf
50 if use gtk ; then
50 use gtk && myconf+=" --gtk-youtube-viewer" 51 myconf="--gtk-youtube-viewer"
52 fi
51 perl-module_src_configure 53 perl-module_src_configure
52 perl-module_src_install 54 perl-module_src_install
53} 55}
54 56
55pkg_postinst() { 57pkg_postinst() {

Legend:
Removed from v.1.14  
changed lines
  Added in v.1.15

  ViewVC Help
Powered by ViewVC 1.1.20