summaryrefslogtreecommitdiff
path: root/app-misc/bulbcalculator/bulbcalculator-9999.ebuild
blob: e7f6a0548a30ba441d8c571238953fb7b2cad3ea (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
# Copyright 1999-2016 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: $

EAPI=5

inherit qmake-utils git-2
# A well-used example of an eclass function that needs eutils is epatch. If
# your source needs patches applied, it's suggested to put your patch in the
# 'files' directory and use:
#
#   epatch "${FILESDIR}"/patch-name-here
#
# eclasses tend to list descriptions of how to use their functions properly.
# take a look at /usr/portage/eclass/ for more examples.

# Short one-line description of this package.
DESCRIPTION="BulbCalculator is a software to design the bulb of RC sail yacht model."
HOMEPAGE="https://mgian.github.io/bulbcalculator/"

EGIT_REPO_URI="https://github.com/mgian/bulbcalculator"

LICENSE="GPL-2"
SLOT="0"

KEYWORDS=""

DEPEND="dev-qt/qtopengl:5
		dev-qt/qtxml:5
		dev-qt/qtnetwork:5
		dev-qt/qtwidgets:5
		dev-qt/qtprintsupport:5
		>=x11-libs/libQGLViewer-2.7.0"

RDEPEND="${DEPEND}"

S=${WORKDIR}/${P}

src_compile() {
		eqmake5 -o Makefile bulbcalculator.pro
		emake
}

src_install() {
		INSTALL_ROOT=${D} emake install_target || die "Install BulbCalculator failed"
}