diff options
author | Denis Dupeyron <calchan@gentoo.org> | 2008-02-09 12:09:49 +0000 |
---|---|---|
committer | Denis Dupeyron <calchan@gentoo.org> | 2008-02-09 12:09:49 +0000 |
commit | 3c92cb31ec97349184b4ca7aa776a18670cdc03a (patch) | |
tree | ef9a4c59b4f07c6163d978ba2da4cdca2319f245 /sci-electronics/kicad | |
parent | alpha/ia64/sparc stable wrt #208366 (diff) | |
download | gentoo-2-3c92cb31ec97349184b4ca7aa776a18670cdc03a.tar.gz gentoo-2-3c92cb31ec97349184b4ca7aa776a18670cdc03a.tar.bz2 gentoo-2-3c92cb31ec97349184b4ca7aa776a18670cdc03a.zip |
Fixed multilib handling, bug #205454.
(Portage version: 2.1.4.1)
Diffstat (limited to 'sci-electronics/kicad')
-rw-r--r-- | sci-electronics/kicad/ChangeLog | 8 | ||||
-rw-r--r-- | sci-electronics/kicad/kicad-20070115.ebuild | 30 | ||||
-rw-r--r-- | sci-electronics/kicad/kicad-20070525.ebuild | 30 | ||||
-rw-r--r-- | sci-electronics/kicad/kicad-20070702.ebuild | 30 |
4 files changed, 51 insertions, 47 deletions
diff --git a/sci-electronics/kicad/ChangeLog b/sci-electronics/kicad/ChangeLog index fb91858cf691..725e17aa8533 100644 --- a/sci-electronics/kicad/ChangeLog +++ b/sci-electronics/kicad/ChangeLog @@ -1,6 +1,10 @@ # ChangeLog for sci-electronics/kicad -# Copyright 1999-2007 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/sci-electronics/kicad/ChangeLog,v 1.29 2007/12/12 11:08:52 leio Exp $ +# Copyright 1999-2008 Gentoo Foundation; Distributed under the GPL v2 +# $Header: /var/cvsroot/gentoo-x86/sci-electronics/kicad/ChangeLog,v 1.30 2008/02/09 12:09:49 calchan Exp $ + + 09 Feb 2008; Denis Dupeyron <calchan@gentoo.org> kicad-20070115.ebuild, + kicad-20070525.ebuild, kicad-20070702.ebuild: + Fixed multilib handling, bug #205454. 12 Dec 2007; Mart Raudsepp <leio@gentoo.org> kicad-20070115.ebuild, kicad-20070525.ebuild, kicad-20070702.ebuild: diff --git a/sci-electronics/kicad/kicad-20070115.ebuild b/sci-electronics/kicad/kicad-20070115.ebuild index ac49f9dc39ce..973d8c0c4664 100644 --- a/sci-electronics/kicad/kicad-20070115.ebuild +++ b/sci-electronics/kicad/kicad-20070115.ebuild @@ -1,8 +1,8 @@ -# Copyright 1999-2007 Gentoo Foundation +# Copyright 1999-2008 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/sci-electronics/kicad/kicad-20070115.ebuild,v 1.12 2007/12/12 11:08:52 leio Exp $ +# $Header: /var/cvsroot/gentoo-x86/sci-electronics/kicad/kicad-20070115.ebuild,v 1.13 2008/02/09 12:09:49 calchan Exp $ -inherit wxwidgets +inherit wxwidgets multilib UPSTREAM_PV="${PV:0:4}-${PV:4:2}-${PV:6:2}" DESCRIPTION="Electronic schematic and PCB design tools." @@ -50,33 +50,33 @@ src_compile() { src_install() { # kicad doesn't use the autotools yet - exeinto /usr/lib/${PN}/linux + exeinto /usr/$(get_libdir)/${PN}/linux doexe eeschema/eeschema doexe pcbnew/pcbnew doexe cvpcb/cvpcb doexe kicad/kicad doexe kicad/minizip/minizip doexe gerbview/gerbview - exeinto /usr/lib/${PN}/linux/plugins + exeinto /usr/$(get_libdir)/${PN}/linux/plugins doexe eeschema/plugins/netlist_form_pads-pcb newicon kicad_icon.png kicad.png - make_wrapper kicad "/usr/lib/${PN}/linux/kicad" + make_wrapper kicad "/usr/$(get_libdir)/${PN}/linux/kicad" make_desktop_entry kicad Kicad kicad.png "Application;Engineering;Electronics" # kicad requires everything to be in the same place - cp -pPR library "${D}"/usr/lib/${PN} - cp -pPR internat "${D}"/usr/lib/${PN} - cp -pPR template "${D}"/usr/lib/${PN} - cp -pPR help "${D}"/usr/lib/${PN} + cp -pPR library "${D}"/usr/$(get_libdir)/${PN} + cp -pPR internat "${D}"/usr/$(get_libdir)/${PN} + cp -pPR template "${D}"/usr/$(get_libdir)/${PN} + cp -pPR help "${D}"/usr/$(get_libdir)/${PN} if ! use minimal ; then - cp -pPR "${WORKDIR}"/kicad/library "${D}"/usr/lib/${PN} - cp -pPR "${WORKDIR}"/kicad/modules "${D}"/usr/lib/${PN} - cp -pPR "${WORKDIR}"/kicad/template "${D}"/usr/lib/${PN} + cp -pPR "${WORKDIR}"/kicad/library "${D}"/usr/$(get_libdir)/${PN} + cp -pPR "${WORKDIR}"/kicad/modules "${D}"/usr/$(get_libdir)/${PN} + cp -pPR "${WORKDIR}"/kicad/template "${D}"/usr/$(get_libdir)/${PN} if use doc ; then - cp -pPR "${WORKDIR}"/kicad/help "${D}"/usr/lib/${PN} + cp -pPR "${WORKDIR}"/kicad/help "${D}"/usr/$(get_libdir)/${PN} fi if use examples ; then - cp -pPR "${WORKDIR}"/kicad/demos "${D}"/usr/lib/${PN} + cp -pPR "${WORKDIR}"/kicad/demos "${D}"/usr/$(get_libdir)/${PN} fi fi dodoc author.txt copyright.txt news.txt contrib.txt version.txt diff --git a/sci-electronics/kicad/kicad-20070525.ebuild b/sci-electronics/kicad/kicad-20070525.ebuild index f309d03f5839..5bd52d2ce6d5 100644 --- a/sci-electronics/kicad/kicad-20070525.ebuild +++ b/sci-electronics/kicad/kicad-20070525.ebuild @@ -1,8 +1,8 @@ -# Copyright 1999-2007 Gentoo Foundation +# Copyright 1999-2008 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/sci-electronics/kicad/kicad-20070525.ebuild,v 1.7 2007/12/12 11:08:52 leio Exp $ +# $Header: /var/cvsroot/gentoo-x86/sci-electronics/kicad/kicad-20070525.ebuild,v 1.8 2008/02/09 12:09:49 calchan Exp $ -inherit wxwidgets +inherit wxwidgets multilib UPSTREAM_PV="${PV:0:4}-${PV:4:2}-${PV:6:2}" DESCRIPTION="Electronic schematic and PCB design tools." @@ -56,33 +56,33 @@ src_compile() { src_install() { # kicad doesn't use the autotools yet - exeinto /usr/lib/${PN}/linux + exeinto /usr/$(get_libdir)/${PN}/linux doexe eeschema/eeschema || die "Installation failed" doexe pcbnew/pcbnew || die "Installation failed" doexe cvpcb/cvpcb || die "Installation failed" doexe kicad/kicad || die "Installation failed" doexe kicad/minizip/minizip || die "Installation failed" doexe gerbview/gerbview || die "Installation failed" - exeinto /usr/lib/${PN}/linux/plugins + exeinto /usr/$(get_libdir)/${PN}/linux/plugins doexe eeschema/plugins/netlist_form_pads-pcb || die "Installation failed" newicon kicad_icon.png kicad.png - make_wrapper kicad "/usr/lib/${PN}/linux/kicad" + make_wrapper kicad "/usr/$(get_libdir)/${PN}/linux/kicad" make_desktop_entry kicad Kicad kicad.png "Application;Engineering;Electronics" # kicad requires everything to be in the same place - cp -pPR library "${D}"/usr/lib/${PN} - cp -pPR internat "${D}"/usr/lib/${PN} - cp -pPR template "${D}"/usr/lib/${PN} - cp -pPR help "${D}"/usr/lib/${PN} + cp -pPR library "${D}"/usr/$(get_libdir)/${PN} + cp -pPR internat "${D}"/usr/$(get_libdir)/${PN} + cp -pPR template "${D}"/usr/$(get_libdir)/${PN} + cp -pPR help "${D}"/usr/$(get_libdir)/${PN} if ! use minimal ; then - cp -pPR "${WORKDIR}"/kicad/library "${D}"/usr/lib/${PN} - cp -pPR "${WORKDIR}"/kicad/modules "${D}"/usr/lib/${PN} - cp -pPR "${WORKDIR}"/kicad/template "${D}"/usr/lib/${PN} + cp -pPR "${WORKDIR}"/kicad/library "${D}"/usr/$(get_libdir)/${PN} + cp -pPR "${WORKDIR}"/kicad/modules "${D}"/usr/$(get_libdir)/${PN} + cp -pPR "${WORKDIR}"/kicad/template "${D}"/usr/$(get_libdir)/${PN} if use doc ; then - cp -pPR "${WORKDIR}"/kicad/help "${D}"/usr/lib/${PN} + cp -pPR "${WORKDIR}"/kicad/help "${D}"/usr/$(get_libdir)/${PN} fi if use examples ; then - cp -pPR "${WORKDIR}"/kicad/demos "${D}"/usr/lib/${PN} + cp -pPR "${WORKDIR}"/kicad/demos "${D}"/usr/$(get_libdir)/${PN} fi fi dodoc author.txt copyright.txt news.txt contrib.txt version.txt diff --git a/sci-electronics/kicad/kicad-20070702.ebuild b/sci-electronics/kicad/kicad-20070702.ebuild index d20487e2b334..3c20b42de346 100644 --- a/sci-electronics/kicad/kicad-20070702.ebuild +++ b/sci-electronics/kicad/kicad-20070702.ebuild @@ -1,8 +1,8 @@ -# Copyright 1999-2007 Gentoo Foundation +# Copyright 1999-2008 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/sci-electronics/kicad/kicad-20070702.ebuild,v 1.4 2007/12/12 11:08:52 leio Exp $ +# $Header: /var/cvsroot/gentoo-x86/sci-electronics/kicad/kicad-20070702.ebuild,v 1.5 2008/02/09 12:09:49 calchan Exp $ -inherit eutils wxwidgets +inherit eutils wxwidgets multilib UPSTREAM_PV="${PV:0:4}-${PV:4:2}-${PV:6:2}" DESCRIPTION="Electronic schematic and PCB design tools." @@ -57,33 +57,33 @@ src_compile() { src_install() { # kicad doesn't use the autotools yet - exeinto /usr/lib/${PN}/linux + exeinto /usr/$(get_libdir)/${PN}/linux doexe eeschema/eeschema || die "Installation failed" doexe pcbnew/pcbnew || die "Installation failed" doexe cvpcb/cvpcb || die "Installation failed" doexe kicad/kicad || die "Installation failed" doexe kicad/minizip/minizip || die "Installation failed" doexe gerbview/gerbview || die "Installation failed" - exeinto /usr/lib/${PN}/linux/plugins + exeinto /usr/$(get_libdir)/${PN}/linux/plugins doexe eeschema/plugins/netlist_form_pads-pcb || die "Installation failed" newicon kicad_icon.png kicad.png - make_wrapper kicad "/usr/lib/${PN}/linux/kicad" + make_wrapper kicad "/usr/$(get_libdir)/${PN}/linux/kicad" make_desktop_entry kicad Kicad kicad.png "Application;Engineering;Electronics" # kicad requires everything to be in the same place - cp -pPR library "${D}"/usr/lib/${PN} - cp -pPR internat "${D}"/usr/lib/${PN} - cp -pPR template "${D}"/usr/lib/${PN} - cp -pPR help "${D}"/usr/lib/${PN} + cp -pPR library "${D}"/usr/$(get_libdir)/${PN} + cp -pPR internat "${D}"/usr/$(get_libdir)/${PN} + cp -pPR template "${D}"/usr/$(get_libdir)/${PN} + cp -pPR help "${D}"/usr/$(get_libdir)/${PN} if ! use minimal ; then - cp -pPR "${WORKDIR}"/kicad/library "${D}"/usr/lib/${PN} - cp -pPR "${WORKDIR}"/kicad/modules "${D}"/usr/lib/${PN} - cp -pPR "${WORKDIR}"/kicad/template "${D}"/usr/lib/${PN} + cp -pPR "${WORKDIR}"/kicad/library "${D}"/usr/$(get_libdir)/${PN} + cp -pPR "${WORKDIR}"/kicad/modules "${D}"/usr/$(get_libdir)/${PN} + cp -pPR "${WORKDIR}"/kicad/template "${D}"/usr/$(get_libdir)/${PN} if use doc ; then - cp -pPR "${WORKDIR}"/kicad/help "${D}"/usr/lib/${PN} + cp -pPR "${WORKDIR}"/kicad/help "${D}"/usr/$(get_libdir)/${PN} fi if use examples ; then - cp -pPR "${WORKDIR}"/kicad/demos "${D}"/usr/lib/${PN} + cp -pPR "${WORKDIR}"/kicad/demos "${D}"/usr/$(get_libdir)/${PN} fi fi dodoc author.txt copyright.txt news.txt contrib.txt version.txt |