# Copyright 1999-2004 Gentoo Technologies, Inc. # Distributed under the terms of the GNU General Public License v2 # $Header: $ SRC_URI="http://www.leocad.org/files/pieces.zip" ESVN_REPO_URI="http://svn.gerf.org/svn/leocad/trunk" ESVN_BOOTSTRAP="PREFIX=/usr make config" inherit subversion DESCRIPTION="LeoCAD is a CAD program that uses LEGO bricks" HOMEPAGE="http://leocad.org/" LICENSE="GPL-2" SLOT="0" KEYWORDS="~x86 ~amd64" DEPEND="dev-util/subversion >=x11-libs/gtk+-2 dev-libs/atk" S=${WORKDIR}/${ECVS_MODULE}leocad/ src_compile() { cd ${S} emake || die } src_install() { make install DESTDIR=${D} \ docdir=/usr/share/doc/leocad \ install || die prepalldocs share_dir=/usr/share/leocad dodir $share_dir unzip ${DISTDIR}/pieces.zip -d ${D}/$share_dir }