games-fps/eduke32: improve

This commit is contained in:
Julian Ospald 2016-02-25 20:23:35 +01:00
parent 5f03ace9a1
commit 170b010908

View File

@ -106,6 +106,7 @@ src_compile() {
CC=${CC} CC=${CC}
CXX=${CXX} CXX=${CXX}
RANLIB=${RANLIB} RANLIB=${RANLIB}
CUSTOMOPT="${CFLAGS}"
STRIP=touch STRIP=touch
ARCH= ARCH=
@ -117,6 +118,7 @@ src_compile() {
LUNATIC=0 LUNATIC=0
NETCODE=1 NETCODE=1
NOASM=1 NOASM=1
OPTLEVEL=0
POLYMER=1 POLYMER=1
PRETTY_OUTPUT=0 PRETTY_OUTPUT=0
RELEASE=1 RELEASE=1
@ -129,8 +131,10 @@ src_compile() {
$(usex vpx "USE_LIBVPX=1" "USE_LIBVPX=0") $(usex vpx "USE_LIBVPX=1" "USE_LIBVPX=0")
) )
emake ${MY_OPTS[@]} emake "${MY_OPTS[@]}"
emake ${MY_OPTS[@]} $(option tools "utils" "") if option tools ; then
emake "${MY_OPTS[@]}" utils
fi
} }
src_install() { src_install() {
@ -207,8 +211,6 @@ Categories=Game;ActionGame;
EOF EOF
dodoc build/buildlic.txt dodoc build/buildlic.txt
keepdir /var/log/eduke32
} }
pkg_postinst() { pkg_postinst() {