summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--sci-electronics/gspiceui/Manifest8
-rw-r--r--sci-electronics/gspiceui/gspiceui-0.8.90.ebuild10
2 files changed, 10 insertions, 8 deletions
diff --git a/sci-electronics/gspiceui/Manifest b/sci-electronics/gspiceui/Manifest
index 901a23e6d..12e6e292d 100644
--- a/sci-electronics/gspiceui/Manifest
+++ b/sci-electronics/gspiceui/Manifest
@@ -1,8 +1,8 @@
DIST gspiceui-v0.8.90.tar.gz 438270 RMD160 8a06f8b676d1f662a4d612d56f5c81f3e5dab0a5 SHA1 69d99027945598684787ee5fc2806a2b10763f85 SHA256 9618ba20a80baf054b5e0c25a75a6a5a6b54078e6e40ce196d0101a78b16d4d5
-EBUILD gspiceui-0.8.90.ebuild 1191 RMD160 dfec1f5959b06f96fad172eff5901f4e17fea6ac SHA1 bf41a713091b484ad0f3c53cebdb51331182a698 SHA256 097ffcddc18b8c770a1d99378298ecccec955b53b8f458e6a7c62ce9204dcb89
-MD5 56b0446888d7d047e11d0ec2d00702b0 gspiceui-0.8.90.ebuild 1191
-RMD160 dfec1f5959b06f96fad172eff5901f4e17fea6ac gspiceui-0.8.90.ebuild 1191
-SHA256 097ffcddc18b8c770a1d99378298ecccec955b53b8f458e6a7c62ce9204dcb89 gspiceui-0.8.90.ebuild 1191
+EBUILD gspiceui-0.8.90.ebuild 1202 RMD160 26abb6cfbd9ba8b99d040409350bb06862919dca SHA1 8be7890db418b962583c4bdc8060fa99d9d5e93f SHA256 7353b0bd3642e2388f3b3a765be4677bbeed77900aa0bc95e72837c6c20027d2
+MD5 0420189717c9ff94b6f16fbfbca6b099 gspiceui-0.8.90.ebuild 1202
+RMD160 26abb6cfbd9ba8b99d040409350bb06862919dca gspiceui-0.8.90.ebuild 1202
+SHA256 7353b0bd3642e2388f3b3a765be4677bbeed77900aa0bc95e72837c6c20027d2 gspiceui-0.8.90.ebuild 1202
MISC ChangeLog 241 RMD160 ef15f8a149b5dafef6e0b753e94d4da31842cbdf SHA1 8ef97fc6d21977f7d1be9c45154f8639219a6e1a SHA256 f79cfa1ca162736ba08fd3c46cf32635b2c4b598ea9dcb5785bd33db1cbf211f
MD5 0480fafd96d4306559f558ce982e5bcf ChangeLog 241
RMD160 ef15f8a149b5dafef6e0b753e94d4da31842cbdf ChangeLog 241
diff --git a/sci-electronics/gspiceui/gspiceui-0.8.90.ebuild b/sci-electronics/gspiceui/gspiceui-0.8.90.ebuild
index 92fcc7bac..99a58ad31 100644
--- a/sci-electronics/gspiceui/gspiceui-0.8.90.ebuild
+++ b/sci-electronics/gspiceui/gspiceui-0.8.90.ebuild
@@ -4,9 +4,10 @@
inherit eutils
+MY_P="${PN}-v${PV}"
DESCRIPTION="GUI frontend for Ngspice and Gnucap"
HOMEPAGE="http://www.geda.seul.org/tools/gspiceui/index.html"
-SRC_URI="http://www.geda.seul.org/dist/${PN}-v${PV}.tar.gz"
+SRC_URI="http://www.geda.seul.org/dist/${MY_P}.tar.gz"
IUSE=""
LICENSE="GPL-2"
@@ -19,18 +20,19 @@ RDEPEND="$DEPEND
sci-electronics/gwave
sci-electronics/geda"
-S="${WORKDIR}/${PN}-v${PV}"
+S="${WORKDIR}/${MY_P}"
src_unpack() {
unpack ${A}
+ cd "${S}"
sed -i \
-e "s:CXXFLAGS =-O -pipe:CXXFLAGS +=:" \
-e "s:WXCFG = wx-config:WXCFG = wx-config-2.6:" \
- ${S}/src/Makefile \
+ src/Makefile \
|| die "Patching src/Makefile failed"
sed -i \
-e "s:/share/gspiceui/html/gSpiceUI.html:/share/doc/${P}/html/gSpiceUI.html:" \
- ${S}/src/main/HelpTasks.cpp \
+ src/main/HelpTasks.cpp \
|| die "Patching src/main/HelpTasks.cpp failed"
}