X-Git-Url: https://git.draconx.ca/gitweb/gentoo-fixes.git/blobdiff_plain/939475e8a127e2791e044e3057fe2ac97d4cf5ca..187b02d08c795dd347acd571fec7e183c732c57d:/sci-electronics/gerbv/gerbv-2.7.0.ebuild diff --git a/sci-electronics/gerbv/gerbv-2.7.0.ebuild b/sci-electronics/gerbv/gerbv-2.7.0.ebuild deleted file mode 100644 index 273ed22..0000000 --- a/sci-electronics/gerbv/gerbv-2.7.0.ebuild +++ /dev/null @@ -1,70 +0,0 @@ -# Copyright © 2018 Nick Bowler -# License GPLv2+ GNU General Public License version 2 or any later version. -# This is free software: you are free to change and redistribute it. -# There is NO WARRANTY, to the extent permitted by law. -# -# This is a modified version of the original ebuild from Gentoo GNU/Linux, -# including material covered by the following copyright and permission notice: -# -# Copyright 1999-2017 Gentoo Foundation -# Distributed under the terms of the GNU General Public License v2 - -EAPI="6" -inherit autotools eutils gnome2-utils xdg-utils - -MY_P=${P/_rc/rc} - -DESCRIPTION="A RS-274X (Gerber) and NC drill (Excellon) file viewer" -SRC_URI="mirror://sourceforge/${PN}/${MY_P}.tar.gz" -HOMEPAGE="http://gerbv.geda-project.org/" - -IUSE="doc examples static-libs unit-mm" -SLOT="0" -LICENSE="GPL-2+" -KEYWORDS="~amd64 ~ppc ~x86" -RESTRICT="test" - -RDEPEND=" - x11-libs/gtk+:2 - x11-libs/cairo" - -DEPEND="${RDEPEND} - virtual/pkgconfig" - -S=$WORKDIR/$MY_P - -src_configure() { - econf \ - $(use_enable static-libs static) \ - $(use_enable unit-mm) \ - --disable-update-desktop-database -} - -src_install () { - default - - dodoc AUTHORS BUGS ChangeLog CONTRIBUTORS HACKING NEWS README* TODO - - rm doc/Doxyfile.nopreprocessing - if use doc; then - find doc -name "Makefile*" -exec rm -f '{}' \; - dodoc -r doc/* - fi - - if use examples; then - find example -name "Makefile*" -exec rm -f '{}' \; - dodoc -r example/* - fi - - prune_libtool_files -} - -pkg_postinst() { - xdg_desktop_database_update - gnome2_icon_cache_update -} - -pkg_postrm() { - xdg_desktop_database_update - gnome2_icon_cache_update -}