summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDenis Dupeyron <calchan@gentoo.org>2007-12-12 09:17:27 +0000
committerDenis Dupeyron <calchan@gentoo.org>2007-12-12 09:17:27 +0000
commitfec8242e2a4dd40a3210aef635984a3ef80bf1bb (patch)
treed998a5913f1deee14fb8dc3266b363dc079808a3 /sci-electronics/kicad
parentalpha/ia64/sparc stable wrt #201747 (diff)
downloadgentoo-2-fec8242e2a4dd40a3210aef635984a3ef80bf1bb.tar.gz
gentoo-2-fec8242e2a4dd40a3210aef635984a3ef80bf1bb.tar.bz2
gentoo-2-fec8242e2a4dd40a3210aef635984a3ef80bf1bb.zip
Fixed bug #202007, thanks to Denilson. Fixed unquoted variables.
(Portage version: 2.1.4_rc9)
Diffstat (limited to 'sci-electronics/kicad')
-rw-r--r--sci-electronics/kicad/ChangeLog6
-rw-r--r--sci-electronics/kicad/kicad-20070115.ebuild24
-rw-r--r--sci-electronics/kicad/kicad-20070525.ebuild24
-rw-r--r--sci-electronics/kicad/kicad-20070702.ebuild26
4 files changed, 42 insertions, 38 deletions
diff --git a/sci-electronics/kicad/ChangeLog b/sci-electronics/kicad/ChangeLog
index a772d1a95115..07695acf5959 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.27 2007/07/29 08:51:24 calchan Exp $
+# $Header: /var/cvsroot/gentoo-x86/sci-electronics/kicad/ChangeLog,v 1.28 2007/12/12 09:17:27 calchan Exp $
+
+ 12 Dec 2007; Denis Dupeyron <calchan@gentoo.org> kicad-20070115.ebuild,
+ kicad-20070525.ebuild, kicad-20070702.ebuild:
+ Fixed bug #202007, thanks to Denilson. Fixed unquoted variables.
29 Jul 2007; Denis Dupeyron <calchan@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 cc80f85307f1..c4c5c1842e65 100644
--- a/sci-electronics/kicad/kicad-20070115.ebuild
+++ b/sci-electronics/kicad/kicad-20070115.ebuild
@@ -1,6 +1,6 @@
# Copyright 1999-2007 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.10 2007/07/29 08:51:24 calchan Exp $
+# $Header: /var/cvsroot/gentoo-x86/sci-electronics/kicad/kicad-20070115.ebuild,v 1.11 2007/12/12 09:17:27 calchan Exp $
inherit wxwidgets
@@ -25,14 +25,14 @@ pkg_setup() {
if use unicode; then
need-wxwidgets unicode || die "You need to install wxGTK with unicode support."
else
- need-wxwidgets gtk2 || die "You need to install wxGTK with gtk2 support."
+ need-wxwidgets X || die "You need to install wxGTK with X support."
fi
built_with_use "=x11-libs/wxGTK-${WX_GTK_VER}*" opengl || die "You need to install wxGTK with opengl support."
}
src_unpack() {
unpack ${A} || die "unpack failed"
- cd ${S}
+ cd "${S}"
# Use the chosen wx-config executable
sed -i -e "s:wx-config:${WX_CONFIG}:" libs.* || die "sed failed"
@@ -64,19 +64,19 @@ src_install() {
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/lib/${PN}
+ cp -pPR internat "${D}"/usr/lib/${PN}
+ cp -pPR template "${D}"/usr/lib/${PN}
+ cp -pPR help "${D}"/usr/lib/${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/lib/${PN}
+ cp -pPR "${WORKDIR}"/kicad/modules "${D}"/usr/lib/${PN}
+ cp -pPR "${WORKDIR}"/kicad/template "${D}"/usr/lib/${PN}
if use doc ; then
- cp -pPR ${WORKDIR}/kicad/help ${D}/usr/lib/${PN}
+ cp -pPR "${WORKDIR}"/kicad/help "${D}"/usr/lib/${PN}
fi
if use examples ; then
- cp -pPR ${WORKDIR}/kicad/demos ${D}/usr/lib/${PN}
+ cp -pPR "${WORKDIR}"/kicad/demos "${D}"/usr/lib/${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 c7c70b9a1cc6..9b53ef26848b 100644
--- a/sci-electronics/kicad/kicad-20070525.ebuild
+++ b/sci-electronics/kicad/kicad-20070525.ebuild
@@ -1,6 +1,6 @@
# Copyright 1999-2007 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.5 2007/07/29 08:51:24 calchan Exp $
+# $Header: /var/cvsroot/gentoo-x86/sci-electronics/kicad/kicad-20070525.ebuild,v 1.6 2007/12/12 09:17:27 calchan Exp $
inherit wxwidgets
@@ -25,14 +25,14 @@ pkg_setup() {
if use unicode; then
need-wxwidgets unicode || die "You need to install wxGTK with unicode support."
else
- need-wxwidgets gtk2 || die "You need to install wxGTK with gtk2 support."
+ need-wxwidgets X || die "You need to install wxGTK with X support."
fi
built_with_use "=x11-libs/wxGTK-${WX_GTK_VER}*" opengl || die "You need to install wxGTK with opengl support."
}
src_unpack() {
unpack ${A} || die "unpack failed"
- cd ${S}
+ cd "${S}"
# Use the chosen wx-config executable
sed -i -e "s:wx-config:${WX_CONFIG}:" libs.* || die "sed failed"
@@ -70,19 +70,19 @@ src_install() {
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/lib/${PN}
+ cp -pPR internat "${D}"/usr/lib/${PN}
+ cp -pPR template "${D}"/usr/lib/${PN}
+ cp -pPR help "${D}"/usr/lib/${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/lib/${PN}
+ cp -pPR "${WORKDIR}"/kicad/modules "${D}"/usr/lib/${PN}
+ cp -pPR "${WORKDIR}"/kicad/template "${D}"/usr/lib/${PN}
if use doc ; then
- cp -pPR ${WORKDIR}/kicad/help ${D}/usr/lib/${PN}
+ cp -pPR "${WORKDIR}"/kicad/help "${D}"/usr/lib/${PN}
fi
if use examples ; then
- cp -pPR ${WORKDIR}/kicad/demos ${D}/usr/lib/${PN}
+ cp -pPR "${WORKDIR}"/kicad/demos "${D}"/usr/lib/${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 57adb08f2045..97112e79a02c 100644
--- a/sci-electronics/kicad/kicad-20070702.ebuild
+++ b/sci-electronics/kicad/kicad-20070702.ebuild
@@ -1,6 +1,6 @@
# Copyright 1999-2007 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.2 2007/07/29 08:51:24 calchan Exp $
+# $Header: /var/cvsroot/gentoo-x86/sci-electronics/kicad/kicad-20070702.ebuild,v 1.3 2007/12/12 09:17:27 calchan Exp $
inherit eutils wxwidgets
@@ -25,14 +25,14 @@ pkg_setup() {
if use unicode; then
need-wxwidgets unicode || die "You need to install wxGTK with unicode support."
else
- need-wxwidgets gtk2 || die "You need to install wxGTK with gtk2 support."
+ need-wxwidgets X || die "You need to install wxGTK with X support."
fi
built_with_use "=x11-libs/wxGTK-${WX_GTK_VER}*" opengl || die "You need to install wxGTK with opengl support."
}
src_unpack() {
unpack ${A} || die "unpack failed"
- cd ${S}
+ cd "${S}"
# Use the chosen wx-config executable
sed -i -e "s:wx-config:${WX_CONFIG}:" libs.* || die "sed failed"
@@ -42,7 +42,7 @@ src_unpack() {
if WX_GTK_VER="2.6" ; then
sed -i -e "s:wxFD_OVERWRITE_PROMPT:wxOVERWRITE_PROMPT:" kicad/treeprj_frame.cpp || die "sed failed"
sed -i -e "s:, false ): ):" kicad/treeprj_datas.cpp || die "sed failed"
- epatch ${FILESDIR}/${P}-wxGTK-2.6.patch || die "patch failed"
+ epatch "${FILESDIR}"/${P}-wxGTK-2.6.patch || die "patch failed"
fi
}
@@ -71,19 +71,19 @@ src_install() {
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/lib/${PN}
+ cp -pPR internat "${D}"/usr/lib/${PN}
+ cp -pPR template "${D}"/usr/lib/${PN}
+ cp -pPR help "${D}"/usr/lib/${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/lib/${PN}
+ cp -pPR "${WORKDIR}"/kicad/modules "${D}"/usr/lib/${PN}
+ cp -pPR "${WORKDIR}"/kicad/template "${D}"/usr/lib/${PN}
if use doc ; then
- cp -pPR ${WORKDIR}/kicad/help ${D}/usr/lib/${PN}
+ cp -pPR "${WORKDIR}"/kicad/help "${D}"/usr/lib/${PN}
fi
if use examples ; then
- cp -pPR ${WORKDIR}/kicad/demos ${D}/usr/lib/${PN}
+ cp -pPR "${WORKDIR}"/kicad/demos "${D}"/usr/lib/${PN}
fi
fi
dodoc author.txt copyright.txt news.txt contrib.txt version.txt