summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSam James <sam@gentoo.org>2021-04-16 07:53:42 +0100
committerSam James <sam@gentoo.org>2021-04-16 12:17:50 +0100
commitc9d54abc2d2dc529a3e777e7053b0fceb60dfdae (patch)
tree595cb0a090f0aa4fba14a8b41d20442cd1a2b253 /games-strategy
parentgames-sports/trophy: eutils-- (diff)
downloadgentoo-c9d54abc2d2dc529a3e777e7053b0fceb60dfdae.tar.gz
gentoo-c9d54abc2d2dc529a3e777e7053b0fceb60dfdae.tar.bz2
gentoo-c9d54abc2d2dc529a3e777e7053b0fceb60dfdae.zip
games-strategy/defcon-demo: eutils->desktop
Signed-off-by: Sam James <sam@gentoo.org>
Diffstat (limited to 'games-strategy')
-rw-r--r--games-strategy/defcon-demo/defcon-demo-1.60-r1.ebuild16
1 files changed, 8 insertions, 8 deletions
diff --git a/games-strategy/defcon-demo/defcon-demo-1.60-r1.ebuild b/games-strategy/defcon-demo/defcon-demo-1.60-r1.ebuild
index 4d2f1544bc82..123c3f6c0bef 100644
--- a/games-strategy/defcon-demo/defcon-demo-1.60-r1.ebuild
+++ b/games-strategy/defcon-demo/defcon-demo-1.60-r1.ebuild
@@ -1,8 +1,9 @@
-# Copyright 1999-2019 Gentoo Authors
+# Copyright 1999-2021 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=6
-inherit eutils toolchain-funcs gnome2-utils
+
+inherit desktop toolchain-funcs gnome2-utils
MY_PN=defcon
MY_PV=${PV:0:3}
@@ -31,7 +32,6 @@ RDEPEND="
x11-libs/libXdmcp
x11-libs/libXext
system-libs? ( media-libs/libsdl[sound,video] )"
-DEPEND=""
QA_PREBUILT="/opt/${PN}/lib/${MY_PN}.bin.x86"
@@ -61,17 +61,17 @@ src_prepare() {
}
src_compile() {
- echo "$(tc-getCC) ${CFLAGS} ${LDFLAGS} -fPIC -shared -o lib/chdir.so chdir.c"
- $(tc-getCC) ${CFLAGS} ${LDFLAGS} -fPIC -shared -o lib/chdir.so chdir.c || die
+ echo "$(tc-getCC) ${CPPFLAGS} ${CFLAGS} ${LDFLAGS} -fPIC -shared -o lib/chdir.so chdir.c"
+ $(tc-getCC) ${CPPFLAGS} ${CFLAGS} ${LDFLAGS} -fPIC -shared -o lib/chdir.so chdir.c || die
}
src_install() {
- local dir="/opt/${PN}"
+ local dir=/opt/${PN}
- insinto "${dir}/lib"
+ insinto ${dir}/lib
doins *.dat
- exeinto "${dir}"/lib
+ exeinto ${dir}/lib
doexe lib/*.so
doexe ${MY_PN}.bin.x86