/[gentoo-x86]/media-gfx/feh/feh-1.16.2.ebuild
Gentoo

Contents of /media-gfx/feh/feh-1.16.2.ebuild

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1.7 - (show annotations) (download)
Tue Mar 20 01:12:04 2012 UTC (5 years, 7 months ago) by radhermit
Branch: MAIN
CVS Tags: HEAD
Changes since 1.6: +1 -1 lines
FILE REMOVED
Remove old.

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

1 # Copyright 1999-2012 Gentoo Foundation
2 # Distributed under the terms of the GNU General Public License v2
3 # $Header: /var/cvsroot/gentoo-x86/media-gfx/feh/feh-1.16.2.ebuild,v 1.6 2012/03/19 19:03:35 armin76 Exp $
4
5 EAPI=4
6 inherit toolchain-funcs
7
8 DESCRIPTION="A fast, lightweight imageviewer using imlib2"
9 HOMEPAGE="http://feh.finalrewind.org/"
10 SRC_URI="http://feh.finalrewind.org/${P}.tar.bz2"
11
12 LICENSE="as-is"
13 SLOT="0"
14 KEYWORDS="amd64 ~arm ppc ppc64 x86"
15 IUSE="debug curl test xinerama"
16
17 COMMON_DEPEND=">=media-libs/giblib-1.2.4
18 media-libs/imlib2
19 >=media-libs/libpng-1.4
20 x11-libs/libX11
21 curl? ( net-misc/curl )
22 xinerama? ( x11-libs/libXinerama )"
23 RDEPEND="${COMMON_DEPEND}
24 virtual/jpeg"
25 DEPEND="${COMMON_DEPEND}
26 x11-libs/libXt
27 x11-proto/xproto
28 test? ( >=dev-lang/perl-5.10
29 dev-perl/Test-Command )"
30
31 feh_use() {
32 if use ${1}; then
33 echo 1
34 else
35 echo 0
36 fi
37 }
38
39 pkg_setup() {
40 fehopts=(
41 DESTDIR="${D}"
42 PREFIX=/usr
43 doc_dir='${main_dir}'/share/doc/${PF}
44 example_dir='${main_dir}'/share/doc/${PF}/examples
45 debug=$(feh_use debug)
46 curl=$(feh_use curl)
47 xinerama=$(feh_use xinerama)
48 )
49 }
50
51 src_compile() {
52 tc-export CC
53 emake "${fehopts[@]}"
54 }
55
56 src_install() {
57 emake "${fehopts[@]}" install
58 }

  ViewVC Help
Powered by ViewVC 1.1.20