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/kicad-20070702.ebuild | |
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/kicad-20070702.ebuild')
-rw-r--r-- | sci-electronics/kicad/kicad-20070702.ebuild | 30 |
1 files changed, 15 insertions, 15 deletions
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 |