blob: f9f31351f6b9a85e71dd342e0295a869c350615a (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
|
# Copyright 1999-2008 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/sci-misc/qcad-parts/qcad-parts-2.1.2.8.ebuild,v 1.1 2008/11/06 12:39:07 bicatali Exp $
MY_PN="partlibrary"
MY_PV="${PV}-1"
DESCRIPTION="Collection of CAD files that can be used from the library browser of QCad"
LICENSE="GPL-2"
HOMEPAGE="http://www.ribbonsoft.com/qcad_library.html"
SRC_URI="ftp://ribbonsoft.com/archives/${MY_PN}/${MY_PN}-${MY_PV}.tar.gz"
SLOT="0"
KEYWORDS="~amd64 ~hppa ~ppc ~x86"
IUSE=""
S="${WORKDIR}/${MY_PN}-${MY_PV}"
src_install() {
insinto /usr/share/${PN}
doins -r * || die "Failed installing qcad-parts files"
}
pkg_postinst() {
einfo
einfo "The QCad parts library was installed in"
einfo "/usr/share/${PN}"
einfo "Please set this path in QCad's preferences to access it."
einfo "(Edit->Application Preferences->Paths->Part Libraries)"
einfo
einfo "After restarting QCad, you can use the library by selecting"
einfo "View->Views->Library Browser"
einfo
}
|