aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSebastien Fabbro <seb@saffron.(none)>2009-04-06 16:43:52 +0100
committerSebastien Fabbro <seb@saffron.(none)>2009-04-06 16:43:52 +0100
commit4c840c03ed259702e28f6c3a1a0f05ed1b4f5b81 (patch)
treec6712b65002cc027ee08eb477cdefcdfa9a6993c /sci-physics/phun/phun-5.28.ebuild
parentsci-chemistry/ambertools removed as I gave up getting chimera in (diff)
downloadsci-4c840c03ed259702e28f6c3a1a0f05ed1b4f5b81.tar.gz
sci-4c840c03ed259702e28f6c3a1a0f05ed1b4f5b81.tar.bz2
sci-4c840c03ed259702e28f6c3a1a0f05ed1b4f5b81.zip
phun-5.28.ebuild
Diffstat (limited to 'sci-physics/phun/phun-5.28.ebuild')
-rw-r--r--sci-physics/phun/phun-5.28.ebuild10
1 files changed, 5 insertions, 5 deletions
diff --git a/sci-physics/phun/phun-5.28.ebuild b/sci-physics/phun/phun-5.28.ebuild
index 38dfba7d3..ab5c9549b 100644
--- a/sci-physics/phun/phun-5.28.ebuild
+++ b/sci-physics/phun/phun-5.28.ebuild
@@ -2,6 +2,7 @@
# Distributed under the terms of the GNU General Public License v2
# $Header: $
+EAPI=2
inherit versionator eutils
MY_P="Phun_beta_$(get_major_version)_$(get_after_major_version)_linux"
@@ -16,19 +17,18 @@ KEYWORDS="~amd64 ~x86"
IUSE=""
RESTRICT="mirror strip"
-
+DEPEND=""
RDEPEND="virtual/opengl
dev-libs/libzip
media-libs/sdl-image
- amd64? ( >=sys-devel/gcc-4.2 =media-libs/glew-1.5* )
- x86? ( =media-libs/glew-1.3* )
+ =media-libs/glew-1.5*
dev-libs/boost"
S="${WORKDIR}/Phun"
PHUN_DIR=/opt/Phun
src_prepare() {
- rm -rf LICENSE* lib || die
+ rm -rf LICENSE* lib phun || die
}
src_install() {
@@ -37,6 +37,6 @@ src_install() {
exeinto ${PHUN_DIR}
doexe phun.bin
make_wrapper ${PN} "./phun.bin" ${PHUN_DIR} ${PHUN_DIR}
- make_desktop_entry ${PN} "Phun Physics Sandbox" \
+ make_desktop_entry /opt/Phun/phun "Phun Physics Sandbox" \
"${PHUN_DIR}/data/textures/logos/icon.bmp"
}