summaryrefslogtreecommitdiff
blob: 5d2f89233210372a6e3ebcbbd7e4b174fd475b91 (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
34
35
36
37
38
# Copyright 1999-2002 Gentoo Technologies, Inc.
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/app-misc/leocad/leocad-20021123.ebuild,v 1.1 2002/12/15 21:47:34 george Exp $

DESCRIPTION="LeoCAD is a CAD program that uses bricks similar to those found in many toys"
HOMEPAGE="http://www.leocad.org/"
SRC_URI="http://rugth38.phys.rug.nl/heijs/${P}.tar.bz2
	http://www.leocad.org/files/pieces.zip"

LICENSE="GPL-2"
SLOT="0"
KEYWORDS="~x86"

IUSE=""

DEPEND="virtual/x11
	virtual/opengl
	media-libs/jpeg
	media-libs/libpng
	sys-libs/zlib"

src_compile() {
	cp ${FILESDIR}/leocad ../
	make || die
}

src_install() {
	into /usr
	dobin ../leocad
	insinto /usr/lib/leocad
	doins bin/leocad
	chmod a+x ${D}/usr/lib/leocad/leocad
	cp bin/leocad ${D}/usr/lib/leocad/
	insinto /usr/lib/leocad/lib
	doins ../pieces.* ../textures.*
	doman docs/leocad.1
	dodoc docs/*.txt
}