Cleanup, enable for x86_64, debuginfo (#2434)

This commit is contained in:
miqlas
2018-04-09 18:13:55 +02:00
committed by GitHub
parent 343f1dc4da
commit e71e55ecd6

View File

@@ -1,11 +1,11 @@
SUMMARY="The ultimate old-school single player dungeon exploration game"
HOMEPAGE="http://www.nethack.org/"
DESCRIPTION="NetHack is a single-player roguelike video game originally \
released in 1987 with ASCII graphics. It is a descendant of an earlier game \
called Hack (1985), which is a descendant of Rogue (1980)."
HOMEPAGE="http://www.nethack.org/"
COPYRIGHT="1985-2015 Stichting Mathematisch Centrum and M. Stephenson"
REVISION="1"
LICENSE="nethack"
REVISION="1"
SOURCE_URI="http://sourceforge.net/projects/nethack/files/nethack/3.6.0/nethack-360-src.tgz"
CHECKSUM_SHA256="1ade698d8458b8d87a4721444cb73f178c74ed1b6fde537c12000f8edf2cb18a"
SOURCE_DIR="nethack-$portVersion"
@@ -13,7 +13,7 @@ PATCHES="nethack-$portVersion.patchset"
#the x86 is left is somebody wanted to edit it to work under gcc4
#(it compiles in gcc4, but what is the point if it compiles under gcc2)
ARCHITECTURES="x86_gcc2 ?x86 ?x86_64"
ARCHITECTURES="x86_gcc2 ?x86 x86_64"
PROVIDES="
nethack = $portVersion
@@ -23,12 +23,12 @@ PROVIDES="
REQUIRES="
haiku
lib:libncurses
lib:libncurses >= 6
"
BUILD_REQUIRES="
haiku_devel
devel:libncurses
devel:libncurses >= 6
"
BUILD_PREREQUIRES="
@@ -48,6 +48,9 @@ GLOBAL_WRITABLE_FILES="
settings/nethack directory keep-old
"
defineDebugInfoPackage nethack \
"$binDir"/nethack_bin
BUILD()
{
./sys/unix/setup.sh ./sys/unix/hints/haiku