diff options
author | Davide Pesavento <davidepesa@gmail.com> | 2013-01-29 19:58:14 -0800 |
---|---|---|
committer | Davide Pesavento <davidepesa@gmail.com> | 2013-01-29 19:58:14 -0800 |
commit | a4f7e56b58eab996a886466091a8c3e279f3303c (patch) | |
tree | 54ee15dd57c31f7b8078f9c11fbeb89efa5ca36d /dev-util | |
parent | dev-util/qupzilla: Drop TODO document. (diff) | |
download | qt-a4f7e56b58eab996a886466091a8c3e279f3303c.tar.gz qt-a4f7e56b58eab996a886466091a8c3e279f3303c.tar.bz2 qt-a4f7e56b58eab996a886466091a8c3e279f3303c.zip |
[dev-util/qtchooser] New ebuild.
Package-Manager: portage-2.2.0_alpha161
Diffstat (limited to 'dev-util')
-rw-r--r-- | dev-util/qtchooser/Manifest | 1 | ||||
-rw-r--r-- | dev-util/qtchooser/metadata.xml | 5 | ||||
-rw-r--r-- | dev-util/qtchooser/qtchooser-9.ebuild | 35 |
3 files changed, 41 insertions, 0 deletions
diff --git a/dev-util/qtchooser/Manifest b/dev-util/qtchooser/Manifest new file mode 100644 index 00000000..18e974e9 --- /dev/null +++ b/dev-util/qtchooser/Manifest @@ -0,0 +1 @@ +DIST qtchooser-9-g8f08405.tar.gz 8061 SHA256 a99a12831ec8776564bc6b60a5e299224ffed028036cf2e88e47d79ffe6ec53a SHA512 70edace7689b1a259e311994435f3d3bf59289ead471ab92a5e70268f1374a8168bd77a23c1e34892829ac70bfa2c6c4bdc22a2372157fb9a68aa997d07fa202 WHIRLPOOL 1e8b0d795e85da86f0b22576b53362da97d6b55a2c05c8599c90bb066a4558894ef0097f78d0ac46692623b40c2e8a3df290f8e477345b39067c97244f3c2bbd diff --git a/dev-util/qtchooser/metadata.xml b/dev-util/qtchooser/metadata.xml new file mode 100644 index 00000000..dc439f7e --- /dev/null +++ b/dev-util/qtchooser/metadata.xml @@ -0,0 +1,5 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd"> +<pkgmetadata> +<herd>qt</herd> +</pkgmetadata> diff --git a/dev-util/qtchooser/qtchooser-9.ebuild b/dev-util/qtchooser/qtchooser-9.ebuild new file mode 100644 index 00000000..1dbc5a03 --- /dev/null +++ b/dev-util/qtchooser/qtchooser-9.ebuild @@ -0,0 +1,35 @@ +# Copyright 1999-2013 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: $ + +EAPI=5 + +inherit toolchain-funcs + +MY_P=${P}-g8f08405 + +DESCRIPTION="Qt4/Qt5 version chooser" +HOMEPAGE="http://macieira.org/qtchooser/" +SRC_URI="http://macieira.org/qtchooser/${MY_P}.tar.gz" + +LICENSE="|| ( LGPL-2.1 GPL-3 )" +SLOT="0" +KEYWORDS="~amd64" +IUSE="test" + +DEPEND="test? ( x11-libs/qt-test )" +RDEPEND="!x11-libs/qt-core:4" # FIXME + +S=${WORKDIR}/${MY_P} + +src_compile() { + emake CXX="$(tc-getCXX)" LFLAGS="${LDFLAGS}" +} + +src_test() { + emake CXX="$(tc-getCXX)" LFLAGS="${LDFLAGS}" check +} + +src_install() { + emake INSTALL_ROOT="${D}" install +} |