diff options
author | tulku <tulku@32389bae-6d03-0410-99cf-db05cde120eb> | 2006-07-15 21:33:32 +0000 |
---|---|---|
committer | tulku <tulku@32389bae-6d03-0410-99cf-db05cde120eb> | 2006-07-15 21:33:32 +0000 |
commit | 95651808c6fb458aaa04e8ee1a6c6018ae285ae6 (patch) | |
tree | 32e9cab29ed8fc95d588bd1ce4153eb1567b25b6 | |
parent | Version bump to 0.99.1 (diff) | |
download | sci-95651808c6fb458aaa04e8ee1a6c6018ae285ae6.tar.gz sci-95651808c6fb458aaa04e8ee1a6c6018ae285ae6.tar.bz2 sci-95651808c6fb458aaa04e8ee1a6c6018ae285ae6.zip |
Version bump to 0.99.1
git-svn-id: http://overlays.gentoo.org/svn/proj/science/overlay@261 32389bae-6d03-0410-99cf-db05cde120eb
-rw-r--r-- | sci-electronics/linsmith/linsmith-0.99.1.ebuild | 59 |
1 files changed, 59 insertions, 0 deletions
diff --git a/sci-electronics/linsmith/linsmith-0.99.1.ebuild b/sci-electronics/linsmith/linsmith-0.99.1.ebuild new file mode 100644 index 000000000..a986fa744 --- /dev/null +++ b/sci-electronics/linsmith/linsmith-0.99.1.ebuild @@ -0,0 +1,59 @@ +# Copyright 1999-2006 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="~amd64 ~x86" +IUSE="doc examples" + +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.9 automake || die "automake failed" +} + +src_install() { + # 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 + + if use examples; then + insinto "/usr/share/doc/${PF}/examples" + doins datafiles/*.circ datafiles/*.load + fi +} |