diff options
author | cryos <cryos@32389bae-6d03-0410-99cf-db05cde120eb> | 2006-04-14 17:12:32 +0000 |
---|---|---|
committer | cryos <cryos@32389bae-6d03-0410-99cf-db05cde120eb> | 2006-04-14 17:12:32 +0000 |
commit | 5a3d99dd8ebdd87cc171363286fbeca4de0b72ef (patch) | |
tree | 97fc902bb133bb7eae6a5a1f2d409df716e442a9 /sci-electronics/linsmith/linsmith-0.9.5.ebuild | |
parent | Version bump (diff) | |
download | sci-5a3d99dd8ebdd87cc171363286fbeca4de0b72ef.tar.gz sci-5a3d99dd8ebdd87cc171363286fbeca4de0b72ef.tar.bz2 sci-5a3d99dd8ebdd87cc171363286fbeca4de0b72ef.zip |
Various small cleanups of the ebuild, added examples USE flag and marked ~amd64.
git-svn-id: http://overlays.gentoo.org/svn/proj/science/overlay@161 32389bae-6d03-0410-99cf-db05cde120eb
Diffstat (limited to 'sci-electronics/linsmith/linsmith-0.9.5.ebuild')
-rw-r--r-- | sci-electronics/linsmith/linsmith-0.9.5.ebuild | 37 |
1 files changed, 16 insertions, 21 deletions
diff --git a/sci-electronics/linsmith/linsmith-0.9.5.ebuild b/sci-electronics/linsmith/linsmith-0.9.5.ebuild index d4ccb5b7c..4e64aca8c 100644 --- a/sci-electronics/linsmith/linsmith-0.9.5.ebuild +++ b/sci-electronics/linsmith/linsmith-0.9.5.ebuild @@ -4,15 +4,13 @@ inherit eutils -DESCRIPTION="linSmith is a Smith Charting program, mainly designed for -educational use." +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" +KEYWORDS="~amd64 ~x86" IUSE="doc" DEPEND=">=gnome-base/libgnomeprint-2.10.3 @@ -22,14 +20,12 @@ 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" } @@ -40,30 +36,29 @@ src_compile() { } 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}/" + + insinto "/usr/share/${PN}" doins datafiles/conv0809 - + dodoc AUTHORS NEWS README ChangeLog TODO doman doc/linsmith.1 - - insinto "/usr/share/applications/" + + insinto "/usr/share/applications" doins linsmith.desktop - insinto "/usr/share/pixmaps/${PN}/" + insinto "/usr/share/pixmaps/${PN}" doins linsmith_icon.xpm if use doc; then - insinto "/usr/share/doc/${PF}/" + insinto "/usr/share/doc/${PF}" doins doc/manual.pdf fi - - insinto "/usr/share/doc/${PF}/examples" - doins datafiles/*.circ datafiles/*.load - + + if use examples; then + insinto "/usr/share/doc/${PF}/examples" + doins datafiles/*.circ datafiles/*.load + fi } |