blob: 3b99581bac19aedc00e7eb5be5c5cf3f39a37f73 (
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
|
# Copyright 1999-2009 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: $
# This ebuild is a modified version of ebuild from java overlay.
EAPI="5"
inherit eutils
MY_PN="SweetHome3D"
DESCRIPTION="Sweet Home 3D is a free interior design application."
HOMEPAGE="http://sweethome3d.sourceforge.net/"
SRC_URI="amd64? ( mirror://sourceforge/sweethome3d/${MY_PN}-${PV}-linux-x64.tgz )
x86? ( mirror://sourceforge/sweethome3d/${MY_PN}-${PV}-linux-x86.tgz )"
LICENSE="GPL-3"
IUSE=""
SLOT="0"
KEYWORDS="~amd64 ~x86"
DEPEND=""
RDEPEND=""
S="${WORKDIR}/${MY_PN}-${PV}"
src_install() {
dodir /usr/share/sweethome3d
cp -r ${S}/* ${D}/usr/share/sweethome3d/
dosym /usr/share/sweethome3d/${MY_PN} /usr/bin/${MY_PN}
make_desktop_entry ${MY_PN} "${MY_PN}"
}
|