1 # Copyright 1999-2018 Gentoo Foundation
2 # Distributed under the terms of the GNU General Public License v2
6 inherit autotools eutils
8 DESCRIPTION="Command line tool for drawing timing diagrams"
9 HOMEPAGE="http://drawtiming.sourceforge.net/index.html"
10 SRC_URI="mirror://sourceforge/${PN}/${P}.tar.gz"
17 DEPEND="media-gfx/imagemagick[cxx]"
21 mv "${S}"/configure.in "${S}"/configure.ac
22 epatch "${FILESDIR}"/${P}-gcc43.patch \
23 "${FILESDIR}"/${P}-ldflags.patch
24 if has_version ">=media-gfx/imagemagick-7.0.5.7" ;then
25 epatch "${FILESDIR}"/${P}-imagemagick-7.patch
31 emake DESTDIR="${D}" install
32 dodoc AUTHORS ChangeLog README THANKS
34 insinto "/usr/share/doc/${PF}/examples"