diff options
author | Markos Chandras <hwoarang@gentoo.org> | 2010-10-21 11:19:24 +0000 |
---|---|---|
committer | Markos Chandras <hwoarang@gentoo.org> | 2010-10-21 11:19:24 +0000 |
commit | f4b9f092437640ca7bfb9169335804b4cdfe6f6e (patch) | |
tree | d8658f80996363cf2b93be53a9f1274a7c97ac30 /app-misc | |
parent | Remove old versions. (diff) | |
download | gentoo-2-f4b9f092437640ca7bfb9169335804b4cdfe6f6e.tar.gz gentoo-2-f4b9f092437640ca7bfb9169335804b4cdfe6f6e.tar.bz2 gentoo-2-f4b9f092437640ca7bfb9169335804b4cdfe6f6e.zip |
Respect CXX,LDFLAGS. Bug #341875. Thanks to Diego E. 'Flameeyes' Pettenò <flameeyes@gentoo.org> for reporting
(Portage version: 2.2_rc98/cvs/Linux x86_64)
Diffstat (limited to 'app-misc')
-rw-r--r-- | app-misc/socnetv/ChangeLog | 9 | ||||
-rw-r--r-- | app-misc/socnetv/socnetv-0.81-r1.ebuild | 48 |
2 files changed, 56 insertions, 1 deletions
diff --git a/app-misc/socnetv/ChangeLog b/app-misc/socnetv/ChangeLog index 9e3abc6fab84..c466349cbc54 100644 --- a/app-misc/socnetv/ChangeLog +++ b/app-misc/socnetv/ChangeLog @@ -1,6 +1,13 @@ # ChangeLog for app-misc/socnetv # Copyright 1999-2010 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/app-misc/socnetv/ChangeLog,v 1.9 2010/10/04 21:29:25 chiiph Exp $ +# $Header: /var/cvsroot/gentoo-x86/app-misc/socnetv/ChangeLog,v 1.10 2010/10/21 11:19:24 hwoarang Exp $ + +*socnetv-0.81-r1 (21 Oct 2010) + + 21 Oct 2010; Markos Chandras <hwoarang@gentoo.org> + +socnetv-0.81-r1.ebuild: + Respect CXX,LDFLAGS. Bug #341875. Thanks to Diego E. 'Flameeyes' Pettenò + <flameeyes@gentoo.org> for reporting *socnetv-0.81 (04 Oct 2010) diff --git a/app-misc/socnetv/socnetv-0.81-r1.ebuild b/app-misc/socnetv/socnetv-0.81-r1.ebuild new file mode 100644 index 000000000000..ca978fdd4bc5 --- /dev/null +++ b/app-misc/socnetv/socnetv-0.81-r1.ebuild @@ -0,0 +1,48 @@ +# Copyright 1999-2010 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/app-misc/socnetv/socnetv-0.81-r1.ebuild,v 1.1 2010/10/21 11:19:24 hwoarang Exp $ + +EAPI="2" + +inherit qt4-r2 toolchain-funcs + +MY_PN="SocNetV" +MY_P="${MY_PN}-${PV}" + +DESCRIPTION="Qt Social Network Visualizer" +HOMEPAGE="http://socnetv.sourceforge.net/" +SRC_URI="mirror://sourceforge/socnetv/${MY_P}.tar.gz" + +LICENSE="GPL-2" +SLOT="0" +KEYWORDS="~amd64 ~x86" +IUSE="doc" + +DEPEND="x11-libs/qt-gui:4 + x11-libs/qt-webkit:4" +RDEPEND="${DEPEND}" + +src_prepare() { + qt4-r2_src_prepare + sed -i "s/@make/@+make/" Makefile.in \ + || die "Fix parallalel build" +} + +src_compile() { + emake CXX="$(tc-getCXX)" CXXFLAGS="${LDFLAGS} ${CXXFLAGS}" \ + LFLAGS="${LDFLAGS}" +} + +src_install() { + dobin socnetv || die "dobin failed" + doicon src/images/socnetv.png || die "doicon failed" + make_desktop_entry ${PN} SocNetV ${PN} 'Science' \ + || die "make_desktop_entry failed" + insinto /usr/share/${PN}/examples || die "insinto failed" + doins nets/* || die "doins failed" + dodoc AUTHORS ChangeLog README TODO || die "dodoc failed" + if use doc; then + dohtml -r "${S}"/manual/* || die "dohtml failed" + fi + doman "${S}/man/${PN}.1.gz" || die "doman failed" +} |