/[gentoo-x86]/www-client/vimb/vimb-2.9.ebuild
Gentoo

Contents of /www-client/vimb/vimb-2.9.ebuild

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1.3 - (hide annotations) (download)
Wed Mar 25 13:38:37 2015 UTC (5 years ago) by ago
Branch: MAIN
CVS Tags: HEAD
Changes since 1.2: +2 -2 lines
Stable for x86, wrt bug #543796

(Portage version: 2.2.14/cvs/Linux x86_64, RepoMan options: --include-arches="x86", signed Manifest commit with key 7194459F)

1 radhermit 1.1 # Copyright 1999-2015 Gentoo Foundation
2     # Distributed under the terms of the GNU General Public License v2
3 ago 1.3 # $Header: /var/cvsroot/gentoo-x86/www-client/vimb/vimb-2.9.ebuild,v 1.2 2015/03/24 17:28:11 ago Exp $
4 radhermit 1.1
5     EAPI=5
6    
7     inherit toolchain-funcs eutils
8    
9     DESCRIPTION="a fast, lightweight, vim-like browser based on webkit"
10     HOMEPAGE="http://fanglingsu.github.io/vimb/"
11     SRC_URI="https://github.com/fanglingsu/${PN}/archive/${PV}.tar.gz -> ${P}.tar.gz"
12    
13     LICENSE="GPL-3"
14     SLOT="0"
15 ago 1.3 KEYWORDS="amd64 x86"
16 radhermit 1.1 IUSE="gtk3"
17    
18     RDEPEND="
19     >=net-libs/libsoup-2.38:2.4
20     !gtk3? (
21     >=net-libs/webkit-gtk-1.5.0:2
22     x11-libs/gtk+:2
23     )
24     gtk3? (
25     >=net-libs/webkit-gtk-1.5.0:3
26     x11-libs/gtk+:3
27     )
28     "
29     DEPEND="${RDEPEND}
30     virtual/pkgconfig"
31    
32     src_prepare() {
33     # force verbose build
34     sed -e '/@echo "\($(CC)\|${CC}\) $@"/d' \
35     -e 's/@$(CC)/$(CC)/' \
36     -i Makefile || die
37    
38     epatch_user
39     }
40    
41     src_compile() {
42     local myconf
43     use gtk3 && myconf+=" GTK=3"
44    
45     emake CC="$(tc-getCC)" ${myconf}
46     }
47    
48     src_install() {
49     emake PREFIX=/usr DESTDIR="${D}" install
50     }

  ViewVC Help
Powered by ViewVC 1.1.20