/[gentoo-x86]/app-misc/socnetv/socnetv-0.90.ebuild
Gentoo

Contents of /app-misc/socnetv/socnetv-0.90.ebuild

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1.4 - (hide annotations) (download)
Sat Mar 2 19:31:48 2013 UTC (7 years, 5 months ago) by hwoarang
Branch: MAIN
CVS Tags: HEAD
Changes since 1.3: +4 -4 lines
Move Qt dependencies to the new category

(Portage version: 2.1.11.52/cvs/Linux x86_64, signed Manifest commit with key C2BA7F3C!)

1 hwoarang 1.4 # Copyright 1999-2013 Gentoo Foundation
2 hwoarang 1.1 # Distributed under the terms of the GNU General Public License v2
3 hwoarang 1.4 # $Header: /var/cvsroot/gentoo-x86/app-misc/socnetv/socnetv-0.90.ebuild,v 1.3 2012/11/20 20:45:56 ago Exp $
4 hwoarang 1.1
5     EAPI="4"
6    
7     inherit eutils qt4-r2 toolchain-funcs
8    
9     MY_PN="SocNetV"
10     MY_P="${MY_PN}-${PV}"
11    
12     DESCRIPTION="Qt Social Network Visualizer"
13     HOMEPAGE="http://socnetv.sourceforge.net/"
14     SRC_URI="mirror://sourceforge/socnetv/${MY_P}.tar.gz"
15    
16     LICENSE="GPL-2"
17     SLOT="0"
18 ago 1.3 KEYWORDS="amd64 x86"
19 hwoarang 1.1 IUSE="doc"
20    
21 hwoarang 1.4 DEPEND="dev-qt/qtgui:4
22     dev-qt/qtwebkit:4"
23 hwoarang 1.1 RDEPEND="${DEPEND}"
24    
25     src_prepare() {
26     qt4-r2_src_prepare
27     sed -i "s/@make/@+make/" Makefile.in \
28     || die "Fix parallel build"
29     }
30    
31     src_compile() {
32     emake CXX="$(tc-getCXX)" CXXFLAGS="${LDFLAGS} ${CXXFLAGS}" \
33     LFLAGS="${LDFLAGS}"
34     }
35    
36     src_install() {
37     dobin socnetv
38     doicon src/images/socnetv.png
39     make_desktop_entry ${PN} SocNetV ${PN} 'Science'
40     insinto /usr/share/${PN}/examples
41     doins nets/*
42     dodoc AUTHORS ChangeLog README TODO
43     if use doc; then
44     dohtml -r "${S}"/manual/*
45     fi
46     doman "${S}/man/${PN}.1.gz"
47     }

  ViewVC Help
Powered by ViewVC 1.1.20