/[gentoo-x86]/media-gfx/pqiv/pqiv-0.12.ebuild
Gentoo

Contents of /media-gfx/pqiv/pqiv-0.12.ebuild

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1.2 - (hide annotations) (download)
Sat May 19 07:37:21 2012 UTC (7 years, 10 months ago) by ssuominen
Branch: MAIN
Changes since 1.1: +2 -2 lines
add kernel_linux to IUSE too just to be friendly towards embedded/ profile users

(Portage version: 2.2.0_alpha107/cvs/Linux x86_64)

1 ssuominen 1.1 # Copyright 1999-2012 Gentoo Foundation
2     # Distributed under the terms of the GNU General Public License v2
3 ssuominen 1.2 # $Header: /var/cvsroot/gentoo-x86/media-gfx/pqiv/pqiv-0.12.ebuild,v 1.1 2012/05/19 07:35:28 ssuominen Exp $
4 ssuominen 1.1
5     EAPI=4
6     inherit linux-info toolchain-funcs
7    
8     DESCRIPTION="Modern rewrite of Quick Image Viewer"
9     HOMEPAGE="http://github.com/phillipberndt/pqiv http://www.pberndt.com/Programme/Linux/pqiv/"
10     SRC_URI="mirror://github/phillipberndt/${PN}/${P}.tbz
11     http://www.pberndt.com/raw/Programme/Linux/${PN}/_download/${P}.tbz"
12    
13     LICENSE="GPL-2"
14     SLOT="0"
15     KEYWORDS="~amd64 ~x86"
16 ssuominen 1.2 IUSE="kernel_linux"
17 ssuominen 1.1
18     RDEPEND=">=dev-libs/glib-2
19     >=x11-libs/gtk+-2.12:2"
20     DEPEND="${RDEPEND}
21     virtual/pkgconfig"
22    
23     pkg_setup() {
24     if use kernel_linux; then
25     CONFIG_CHECK="~INOTIFY_USER"
26     linux-info_pkg_setup
27     fi
28     }
29    
30     src_configure() {
31     ./configure --prefix=/usr --destdir="${D}" || die
32     }
33    
34     src_compile() {
35     tc-export CC
36     emake
37     }
38    
39     src_install() {
40     emake install
41     dodoc README.markdown
42     }

  ViewVC Help
Powered by ViewVC 1.1.20