aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authortulku <tulku@32389bae-6d03-0410-99cf-db05cde120eb>2005-11-25 00:33:10 +0000
committertulku <tulku@32389bae-6d03-0410-99cf-db05cde120eb>2005-11-25 00:33:10 +0000
commit8e81bb2c7353a9ad905c7336bbfb5faeba6bc02e (patch)
treea2551d003c5088c6ecc5f53d9ac31059c757c661
parentAdding emu-1.10 form bug #98051 (diff)
downloadsci-8e81bb2c7353a9ad905c7336bbfb5faeba6bc02e.tar.gz
sci-8e81bb2c7353a9ad905c7336bbfb5faeba6bc02e.tar.bz2
sci-8e81bb2c7353a9ad905c7336bbfb5faeba6bc02e.zip
Adding linsmith-0.9.2.ebuild
git-svn-id: http://overlays.gentoo.org/svn/proj/science/overlay@19 32389bae-6d03-0410-99cf-db05cde120eb
-rw-r--r--sci-electronics/linsmith/Manifest4
-rw-r--r--sci-electronics/linsmith/linsmith-0.9.2.ebuild69
2 files changed, 71 insertions, 2 deletions
diff --git a/sci-electronics/linsmith/Manifest b/sci-electronics/linsmith/Manifest
index 280588d38..991d30fbb 100644
--- a/sci-electronics/linsmith/Manifest
+++ b/sci-electronics/linsmith/Manifest
@@ -1,7 +1,7 @@
MD5 826ea0a4ebeb6124bffb8b9ab4b004e2 linsmith-0.9.1.ebuild 1340
-MD5 5ff2f58d6ee6f901d6290724b6b89af4 linsmith-0.9.2.ebuild 1496
+MD5 02dde9f622b65a66633500bbc515a1fc linsmith-0.9.2.ebuild 1503
MD5 98394ff4bb6beadc1ab9cb560bb825e9 linsmith-0.9.0_alpha3.ebuild 744
-MD5 67027dca42a0bee7f14c28565c477e0f ChangeLog 726
+MD5 6a012914f044b693e53b32200c2e81b1 ChangeLog 976
MD5 e86b876c1011b9eef88da979183746eb metadata.xml 260
MD5 afadc040e05573a886c5152caf055233 files/linsmith.1 2109
MD5 95537ed9cba1bbe703d4b91d48818c04 files/digest-linsmith-0.9.1 67
diff --git a/sci-electronics/linsmith/linsmith-0.9.2.ebuild b/sci-electronics/linsmith/linsmith-0.9.2.ebuild
new file mode 100644
index 000000000..d16025f28
--- /dev/null
+++ b/sci-electronics/linsmith/linsmith-0.9.2.ebuild
@@ -0,0 +1,69 @@
+# Copyright 1999-2005 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: $
+
+inherit eutils
+
+DESCRIPTION="linSmith is a Smith Charting program, mainly designed for
+educational use."
+HOMEPAGE="http://jcoppens.com/soft/linsmith/index.en.php"
+
+SRC_URI="mirror://sourceforge/linsmith/${P}.tar.gz"
+
+LICENSE="GPL-2 LGPL-2"
+SLOT="0"
+KEYWORDS="~x86"
+IUSE="doc"
+
+DEPEND=">=gnome-base/libgnomeprint-2.10.3
+ >=dev-libs/libxml2-2.6.20-r2
+ >=gnome-base/libgnomeui-2.10.1"
+RDEPEND=""
+
+src_unpack() {
+ unpack ${A}
+
+ cd ${S}
+
+ # This patch is to prevent make install copying
+ # the examples in /usr/share/linsmith
+ # Now they are cp to the correct location.
+ epatch ${FILESDIR}/${PN}-datafiles.patch
+
+ einfo "Regenerating autotools files..."
+ WANT_AUTOMAKE=1.8 automake || die "automake failed"
+}
+
+src_compile() {
+ econf || die "econf failed"
+ emake || die "emake failed"
+}
+
+src_install() {
+ cd ${S}
+
+ # Delete this file, otherwise it is installed with the pixmaps.
+ rm pixmaps/Makefile.am~
+
+ make DESTDIR=${D} install || die "make install failed"
+
+ insinto "/usr/share/${PN}/"
+ doins datafiles/conv0809
+
+ dodoc AUTHORS NEWS README ChangeLog TODO
+ doman doc/linsmith.1
+
+ insinto "/usr/share/applications/"
+ doins linsmith.desktop
+ insinto "/usr/share/pixmaps/${PN}/"
+ doins linsmith_icon.xpm
+
+ if [ use doc ]; then
+ insinto "/usr/share/doc/${PF}/"
+ doins doc/manual.pdf
+ fi
+
+ insinto "/usr/share/doc/${PF}/examples"
+ doins datafiles/*.circ datafiles/*.load
+
+}