1 # Copyright 1999-2014 Gentoo Foundation
2 # Distributed under the terms of the GNU General Public License v2
9 DESCRIPTION="Generic 2D CAD program"
10 HOMEPAGE="http://www.librecad.org/"
11 SRC_URI="https://github.com/LibreCAD/LibreCAD/archive/${PV/_/}.zip -> ${P}.zip"
16 IUSE="debug doc tools"
28 S="${WORKDIR}/LibreCAD-${PV}"
32 use tools && dobin unix/ttf2lff
33 insinto /usr/share/${PN}
34 doins -r unix/resources/*
35 use doc && dohtml -r librecad/support/doc/*
36 doicon librecad/res/main/${PN}.png
37 make_desktop_entry ${PN} LibreCAD ${PN} Graphics