diff options
author | Andreas Sturmlechner <asturm@gentoo.org> | 2018-04-08 22:46:55 +0200 |
---|---|---|
committer | Andreas Sturmlechner <asturm@gentoo.org> | 2018-04-08 22:49:58 +0200 |
commit | 1257a57be6a6d27551914d9d37490a1ef9755fd0 (patch) | |
tree | e5984dd19b75c307b7d88b93f150cf71e80789db /dev-embedded/cpik/cpik-0.7.4_p4.ebuild | |
parent | www-servers/tomcat: clean duplicate patches (diff) | |
download | gentoo-1257a57be6a6d27551914d9d37490a1ef9755fd0.tar.gz gentoo-1257a57be6a6d27551914d9d37490a1ef9755fd0.tar.bz2 gentoo-1257a57be6a6d27551914d9d37490a1ef9755fd0.zip |
dev-embedded/cpik: 0.7.4_p4 version bump, use qtcore:5, fix GCC-6
Thanks-to: Thomas Posch <bugs.gentoo.org@online.posch.name>
Bug: https://bugs.gentoo.org/644402
Closes: https://bugs.gentoo.org/639554
Package-Manager: Portage-2.3.28, Repoman-2.3.9
Diffstat (limited to 'dev-embedded/cpik/cpik-0.7.4_p4.ebuild')
-rw-r--r-- | dev-embedded/cpik/cpik-0.7.4_p4.ebuild | 46 |
1 files changed, 46 insertions, 0 deletions
diff --git a/dev-embedded/cpik/cpik-0.7.4_p4.ebuild b/dev-embedded/cpik/cpik-0.7.4_p4.ebuild new file mode 100644 index 000000000000..376bf94a41fb --- /dev/null +++ b/dev-embedded/cpik/cpik-0.7.4_p4.ebuild @@ -0,0 +1,46 @@ +# Copyright 1999-2018 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +EAPI=6 + +inherit qmake-utils + +MY_PV="${PV/_p/-}" +MY_P="${PN}-${MY_PV}" + +DESCRIPTION="C compiler for PIC18 devices" +HOMEPAGE="http://pikdev.free.fr/" +SRC_URI="http://pikdev.free.fr/${MY_P}.tar.gz" + +LICENSE="GPL-2" +SLOT="0" +KEYWORDS="~amd64 ~x86" +IUSE="" + +DEPEND="dev-qt/qtcore:5" +RDEPEND="" + +S="${WORKDIR}/${MY_P}" + +DOCS=( ${MY_PV/-*/}/doc/cpik-{0.5.2-tutorial,0.7.4-4-doc}.pdf ) +HTML_DOCS=( ${MY_PV/-*/}/doc/html/. ) + +PATCHES=( "${FILESDIR}/${P}-gcc6.patch" ) + +src_prepare() { + default + + # does not install docs in wrong path + sed -e '/INSTALLS += docs/d' \ + -i "${PN}"*.pro || die 'sed failed.' +} + +src_configure() { + eqmake5 +} + +src_install() { + emake INSTALL_ROOT="${D}" install + einstalldocs + dosym "${PN}-${MY_PV/-*/}" "/usr/bin/${PN}" +} |